private void Awake() { mover = GetComponent <PlayerMover>(); fighter = GetComponent <PlayerFighter>(); thrower = GetComponent <PlayerThrower>(); weaponHandler = GetComponentInChildren <WeaponHandler>(); stashSystem = FindObjectOfType <WeaponStashSystem>(); }
private void Start() { Instance = this; healthBar.SetMaxHealth(maxHealth); currentHealth = maxHealth; }