示例#1
0
 /// <summary>
 /// Unsubscribe safetely funct Function to OnResumeGameDelegate
 /// </summary>
 /// <param name="funct">Function.</param>
 public static void UnSubscribeOnResumeGame(onResumeGameBroadcast funct)
 {
     if (InstanceExists())
     {
         Instance.OnResumeGame -= funct;
     }
 }
示例#2
0
 /// <summary>
 /// Subscribes funct to OnResumeGame
 /// </summary>
 /// <param name="funct">Funct.</param>
 public static void SubscribeOnResumeGame(onResumeGameBroadcast funct)
 {
     if (Instance != null)
     {
         Instance.OnResumeGame += funct;
     }
 }