void Start() { attackBoots = GetComponent <PlayerBoots>(); attackHelmet = GetComponent <PlayerHelmet>(); attackBoots.enabled = false; attackHelmet.enabled = false; }
void Start() { attackBoots = GetComponent <PlayerBoots>(); attackHelmet = GetComponent <PlayerHelmet>(); attackSword = sword.GetComponent <PlayerSword>(); attackBoots.enabled = false; attackHelmet.enabled = false; attackSword.enabled = false; sword.SetActive(false); }