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");
        }
Exemplo n.º 2
0
 public JumpState()
 {
     CharacterRigidBody = null;
     AdvancedSettings   = MovementSettings.AdvancedSettings.GetSingleton();
     BasicSettings      = MovementSettings.BasicSettings.GetSingleton();
 }