private void Start() { m_RigidBody = GetComponent <Rigidbody>(); m_Capsule = GetComponent <CapsuleCollider>(); mouseLook.Init(transform, cam.transform); basicSettings = MovementSettings.BasicSettings.GetSingleton(); advancedSettings = MovementSettings.AdvancedSettings.GetSingleton(); Debug.Log("Start"); }
public JumpState() { CharacterRigidBody = null; AdvancedSettings = MovementSettings.AdvancedSettings.GetSingleton(); BasicSettings = MovementSettings.BasicSettings.GetSingleton(); }