Example #1
0
 void Awake()
 {
     instance = this;
     // Setting up references.
     groundCheck = transform.Find("groundCheck");
     wallCheck   = transform.Find("wallCheck");
     Debug.Log("GroundCheck " + groundCheck);
     Debug.Log("WallCheck " + wallCheck);
     gearMeter = GetComponent <GearMeter>();
     anim      = GetComponent <Animator>();
 }
Example #2
0
 private void Awake()
 {
     gearMeter = GetComponent <GearMeter>();
     anim      = GetComponent <Animator>();
 }