Beispiel #1
0
    void Start()
    {
        attackBoots  = GetComponent <PlayerBoots>();
        attackHelmet = GetComponent <PlayerHelmet>();

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

        attackBoots.enabled  = false;
        attackHelmet.enabled = false;
        attackSword.enabled  = false;

        sword.SetActive(false);
    }