public void updateKeysState(keysStruct ks) { myGM my = GetComponent <myGM>(); my.allKeys[ks.influenceNumber - 1].enable = true; }
public void SwapBool(bool hintnow, keysStruct kstrukt) { showhint = hintnow; showhintpanel.SetActive(hintnow); ks = kstrukt; }