void UpdateSangcharimUI() { if (PlayerPrefs.HasKey(Key_Sangcharim)) this.sangcharim = (Sangcharim)PlayerPrefs.GetInt(Key_Sangcharim); foreach (Image img in sangcharimButtons) img.color = Color.gray; sangcharimButtons[(int)sangcharim - 1].color = Color.white; }
public void OnClick_MaSangCombination(int sangcharim) { this.sangcharim = (jangi.Sangcharim)sangcharim; Debug.Log("selected: " + this.sangcharim + "\n"); foreach (Image img in sangcharimButtons) img.color = Color.gray; sangcharimButtons[sangcharim - 1].color = Color.white; }