导入odin

This commit is contained in:
2026-01-01 23:09:08 +08:00
parent 9ceffccd39
commit 04dd4a23b2
814 changed files with 120820 additions and 87 deletions

View File

@@ -22,7 +22,6 @@ namespace NBF
public FirstPersonCharacter FirstPerson;
public GameObject ModelGameObject { get; set; }
public PlayerAnimator Animator;
public FPlayerData Data { get; private set; }
@@ -33,7 +32,6 @@ namespace NBF
{
Character = gameObject.GetComponent<CharacterMovement>();
FirstPerson = gameObject.GetComponent<FirstPersonCharacter>();
Animator = gameObject.AddComponent<PlayerAnimator>();
Data = FPlayerData.Instance;
transform.localPosition = new Vector3(484, 1, 422);
}
@@ -63,7 +61,6 @@ namespace NBF
modelObject.transform.localPosition = Vector3.zero;
ModelGameObject = modelObject;
ModelAsset = modelObject.GetComponent<PlayerModelAsset>();
Animator.SetModelAsset(this);
}
#endregion