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

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