void Awake() { button = GetComponent <Button>(); if (Ps_DataStore.GetDifficulty() == difficultyLevel) { button.interactable = false; } else { button.interactable = true; } }
void Awake() { f_inventory = GetComponentInChildren <Cs_Inventory>(); difficulty = Ps_DataStore.GetDifficulty(); Ps_DataStore.StoreResult(0); }