private void Start() { AudioHelper.PlayClip2D(dragonRoar, .1f); // get Creature code at start creature = GetComponent <Creature>(); // get code for animations animations = gameObject.GetComponent <CreatureAnimations>(); }
// Start is called before the first frame update void Start() { movement = GetComponent <PlayerCapitalMovement>(); inventory = GetComponent <PlayerInventory>(); animations = GetComponent <CreatureAnimations>(); }
// Start is called before the first frame update void Start() { anims = GetComponent <CreatureAnimations>(); }