Example #1
0
        public static SaveLoadSlotManager GetInstance()
        {
            if (!instance)
            {
                instance = GameObject.FindObjectOfType(typeof(SaveLoadSlotManager)) as SaveLoadSlotManager;

                if (!instance)
                {
                    ErrorMessages.Instance.MissingSingletoneObject("SaveLoadSlotManager");
                }
            }

            return(instance);
        }
Example #2
0
 public void PushedSavedButton()
 {
     SaveLoadSlotManager.GetInstance().SavedButtonPushed(gameObject);
 }