fixed movement bug

This commit is contained in:
Melbyj1125 2022-03-24 20:39:10 -05:00
parent 40da7ae3a9
commit c15ab2cc15
2 changed files with 2 additions and 2 deletions

View File

@ -5071,6 +5071,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 7adf74561e73e1c4e99ec7e3d6a08738, type: 3}
m_Name:
m_EditorClassIdentifier:
playerModel: {fileID: 6039924685421813533}
cam: {fileID: 8193413098731078861}
moveController: {fileID: 0}
rB: {fileID: 0}

View File

@ -30,7 +30,7 @@ public class MoveStateManager : NetworkBehaviour
////Objects Sections
private GameObject parentObj; // Parent object
private GameObject playerModel; // player visual model
public GameObject playerModel; // player visual model
public Camera cam; // Camera object
////
@ -92,7 +92,6 @@ public class MoveStateManager : NetworkBehaviour
parentObj = transform.parent.gameObject; // set parent object
animator = GetComponent<Animator>(); // set animator
animationManager = GetComponent<AnimationManager>();
playerModel = GameObject.FindGameObjectWithTag("PlayerModel");
////
////Initialize Scripts