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