targettins toggle option

This commit is contained in:
2026-02-10 07:38:37 +01:00
parent dac9a86e07
commit 518ba9f921
8 changed files with 1194 additions and 376 deletions

View File

@@ -159,6 +159,13 @@ public partial class SROptions
}
}
[Category("Combat")]
public bool TargetLock
{
get { return Player.Instance.gameObject.GetComponent<AutoTargetting>().autoLockSelectedTarget; }
set { Player.Instance.gameObject.GetComponent<AutoTargetting>().autoLockSelectedTarget = value; }
}
[Category("Stats")]
[DisplayName("Stamina Regen Rate")]
[Increment(0.1f)] // Optional attribute for SRDebugger slider/buttons