示例#1
0
 /// <summary>
 /// Registers an event into the EventSaves List<>
 /// </summary>
 /// <param name="customEvent">The event that needs to be registered</param>
 public static void RegisterEvent(CustomSaveEvent customEvent)
 {
     EventSaves.Add(customEvent);
     EventSaves = EventSaves.OrderBy(x => x.EventTime).ToList();
     UnityEngine.Debug.Log(customEvent.ToString());
 }
 /// <summary>
 /// Registers an event into the EventSaves List<>
 /// </summary>
 /// <param name="customEvent">The event that needs to be registered</param>
 public static void RegisterEvent(CustomSaveEvent customEvent)
 {
     EventSaves.Add(customEvent);
     EventSaves = EventSaves.OrderBy(x => x.EventTime).ToList();
     GlobalVariables.global.debug(customEvent.ToString());
 }