上下视角控制

This commit is contained in:
2026-01-18 01:05:56 +08:00
parent a46436ae45
commit 7b2a93d673
9 changed files with 128 additions and 5 deletions

View File

@@ -40,6 +40,7 @@ namespace NBF
FirstPerson = gameObject.GetComponent<FirstPersonCharacter>();
Data = FPlayerData.Instance;
transform.localPosition = new Vector3(484, 1, 422);
// Data.NeedChangeRightArmAngle = true;
}
private void Start()
@@ -53,6 +54,8 @@ namespace NBF
{
UpdateMove();
Fsm?.Update();
Data.EyeAngle = GameUtils.GetVerticalAngle(transform, FppLook);
}
private void OnDestroy()