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>(); }
private void Awake() { gearMeter = GetComponent <GearMeter>(); anim = GetComponent <Animator>(); }