void Awake() { _weaponHandler = GetComponent<WeaponHandler>(); }
public virtual void Start() { ResetStatuses(); SetandReturnOutfitSystem(); _anim = GetComponent<Animator>(); _weaponHandler = GetComponent<WeaponHandler>(); // sets up cat's preferences _Prefs = new AnimalPreferences(70, 10, 50, 75, 40, 15, 3); _petAgeTimer = gameObject.AddComponent<Timer>(); // begin aging process _petAgeTimer.SetTimer(TimeLapseRate); _petAgeTimer.PauseUnPause(); }