diff options
author | chai <chaifix@163.com> | 2022-04-25 15:20:21 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2022-04-25 15:20:21 +0800 |
commit | 48cce250a683024009bdf35a10c6710c615022d6 (patch) | |
tree | 919fd88099ae732eb34f546b2d9533d3f63374c9 /SurvivalTest/Assets/Scripts/Test/TestPeaceMaker.cs | |
parent | b1b0925ee2acf37639c3d211351d74e957c4d134 (diff) |
*ui
Diffstat (limited to 'SurvivalTest/Assets/Scripts/Test/TestPeaceMaker.cs')
-rw-r--r-- | SurvivalTest/Assets/Scripts/Test/TestPeaceMaker.cs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/SurvivalTest/Assets/Scripts/Test/TestPeaceMaker.cs b/SurvivalTest/Assets/Scripts/Test/TestPeaceMaker.cs index e4e3879..3662daf 100644 --- a/SurvivalTest/Assets/Scripts/Test/TestPeaceMaker.cs +++ b/SurvivalTest/Assets/Scripts/Test/TestPeaceMaker.cs @@ -77,7 +77,17 @@ public class TestPeaceMaker : CrewScript private Vector3 m_TargetZoom; // 锁定瞄准,以移动方向为准 - private bool m_LockAim; + private bool m_LockAim + { + get + { + return PlayerManager.Instance.lockAim; + } + set + { + PlayerManager.Instance.lockAim = value; + } + } private enum ControlMode { |