This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static void RemoveCorruptSubscriptions(string a_message) | |
{ | |
if (m_subscriptions.TryGetValue(a_message, out List<Subscription> tSub)) | |
{ | |
for (int i = 0; i < tSub.Count; i++) | |
{ | |
try | |
{ | |
foreach (Action<T> del in tSub[i].Callback.GetInvocationList()) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Created by: Eric Mouleoux | |
* Contact: EricMouledoux@gmail.com | |
* | |
* Summary: | |
* | |
* | |
* Usage: | |
* | |
* | |
* Notes: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* * * * * * * * * * | |
* Creadted by: Eric Mouledoux | |
* Contact: EricMouledoux@Gmail.com | |
* * * * * * * * * */ | |
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
[RequireComponent(typeof(AudioSource))] |