Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     rigid                  = GetComponent <Rigidbody>();
     characterMotion        = GetComponent <CharacterMotion>();
     animControl            = GetComponent <CharacterAnimControl>();
     horizontalMotionLocked = false;
 }
Ejemplo n.º 2
0
    // Start is called before the first frame update
    void Start()
    {
        animControl = GetComponent <CharacterAnimControl>();

        Swap(characters[initCharacterIndex]);
    }
Ejemplo n.º 3
0
 // Start is called before the first frame update
 void Start()
 {
     playerMotion  = player.GetComponent <PlayerMotion>();
     characterAnim = player.GetComponent <CharacterAnimControl>();
 }