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