Beispiel #1
0
 public static void Open(string commentText, string confirmText, Action confirmCallback)
 {
     if (_instance == null)
     {
         _instance = ResourceManager.Instance.Spawn("ConfirmUI", ResourceManager.Type.UI).GetComponent <ConfirmUI>();
     }
     _instance.Init(commentText, confirmText, confirmCallback);
 }
Beispiel #2
0
 public void PromptDeleteTrack()
 {
     ConfirmDeleteUI.Init("Do you want to delete: " + RaceManager.Instance.TrackNames[0]);
 }