private void HandleMusic() { if (music == 0) { musicOff.ChangeToNegative(); } else { musicOn.ChangeToNegative(); } }
private void HandleSound() { if (sound == 0) { soundOff.ChangeToNegative(); } else { soundOn.ChangeToNegative(); } }
private void HandleLanguage() { if (language == 1) { rules.ChangeToNegative(); english.ChangeToNormal(); turkish.ChangeToNegative(); } else { rules.ChangeToNormal(); english.ChangeToNegative(); turkish.ChangeToNormal(); } }
void GoNegative() { start.ChangeToNegative(); how2play.ChangeToNegative(); options.ChangeToNegative(); wtfAreWe.ChangeToNegative(); Camera.main.backgroundColor = Color.black; }
private void HandleTableSize() { if (tableSize == 0) { sizeMin.ChangeToNegative(); } else if (tableSize == 1) { sizeSmall.ChangeToNegative(); } else if (tableSize == 2) { sizeMedium.ChangeToNegative(); } else { sizeBig.ChangeToNegative(); } }
void ToggleOptionBar(bool open) { if (open) { bar_option.ChangeToNegative(); button_option.gameObject.SetActive(true); text_option.gameObject.SetActive(true); text_player_name.gameObject.SetActive(false); } else { bar_option.ChangeToNormal(); button_option.gameObject.SetActive(false); text_option.gameObject.SetActive(false); text_player_name.gameObject.SetActive(true); } }