Beispiel #1
0
 public static void Open(Event @event, Action <bool> callback)
 {
     if (Instance == null)
     {
         Instance = ResourceManager.Instance.Spawn("EventUI", ResourceManager.Type.UI).GetComponent <EventUI>();
     }
     Instance.SetData(@event, callback);
     ExploreController.Instance.StopEnemy();
 }