Ejemplo n.º 1
0
    private void Start()
    {
        AudioHelper.PlayClip2D(dragonRoar, .1f);

        // get Creature code at start
        creature = GetComponent <Creature>();

        // get code for animations
        animations = gameObject.GetComponent <CreatureAnimations>();
    }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     movement   = GetComponent <PlayerCapitalMovement>();
     inventory  = GetComponent <PlayerInventory>();
     animations = GetComponent <CreatureAnimations>();
 }
Ejemplo n.º 3
0
 // Start is called before the first frame update
 void Start()
 {
     anims = GetComponent <CreatureAnimations>();
 }