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

@@ -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