void Start()
 {
     anim  = GetComponent <Animator>();
     cc    = GetComponent <CharacterController>();
     input = GetComponent <InputManager>();
     at    = GetComponent <AbilityTimer>();
 }
Exemple #2
0
    // 1 = speed
    // 2 = double jump

    private void Start()
    {
        player = GameObject.Find("Playable_Character");
        at     = player.GetComponent <AbilityTimer>();
    }