mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-04-25 16:15:39 -05:00
fixed movement bug
This commit is contained in:
parent
40da7ae3a9
commit
c15ab2cc15
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user