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