Esempio n. 1
0
 void Start()
 {
     InventoryCanvas.SetActive(false);
     OptionsPannel_OBJ.SetActive(false);
     CollorPannel_OBJ.SetActive(false);
     CollorRedButton.SetActive(false);
     CollorBlueButton.SetActive(false);
     Player.material.color = Color.green;
 }
Esempio n. 2
0
    void Update()
    {
        OpeningInventory();
        if (Red == true)
        {
            CollorRedButton.SetActive(true);
        }

        if (Blue == true)
        {
            CollorBlueButton.SetActive(true);
        }
    }