Ejemplo n.º 1
0
 private void SlotSelected(SaveSlot slot)
 {
     UnityEngine.Debug.Assert(slot != SaveSlot.None);
     mCurrentSaveSlot = slot;
     if (mSaveNames[(int)mCurrentSaveSlot - 1] != "")
     {
         mSaveNameInputField.text = mSaveNames[(int)mCurrentSaveSlot - 1];
     }
     UpdateUI();
 }
Ejemplo n.º 2
0
 public SavesUIManager()
 {
     mCurrentSaveSlot = SaveSlot.None;
     mSaveSlotButtons = new GameObject[(int)SaveSlot.Max];
     mSaveNames       = new string[(int)SaveSlot.Max];
 }