private void Start()
    {
        AudioHelper.PlayClip2D(dragonRoar, .1f);

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

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