导入odin
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user