Skip to content

Instantly share code, notes, and snippets.

View Mouledoux's full-sized avatar

Mouledoux Mouledoux

View GitHub Profile
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())
{
/* Created by: Eric Mouleoux
* Contact: EricMouledoux@gmail.com
*
* Summary:
*
*
* Usage:
*
*
* Notes:
/* * * * * * * * * *
* Creadted by: Eric Mouledoux
* Contact: EricMouledoux@Gmail.com
* * * * * * * * * */
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
[RequireComponent(typeof(AudioSource))]