Example #1
0
 private void OnEnable()
 {
     m_rb   = GetComponent <Rigidbody>();
     m_anim = GetComponent <Animator>();
     m_gravityController = GravityController.Instance;
     m_stateManager      = StateManager.Instance;
     GravityController.OnChangeGravity += SyncGravitySource;
 }
Example #2
0
 private void Awake()
 {
     m_gravityController = GravityController.Instance;
     m_player            = PlayerController.Instance;
     DisplayCount();
 }
Example #3
0
 void OnEnable()
 {
     m_gravityController = GravityController.Instance;
     m_stateManager      = StateManager.Instance;
 }