Esempio n. 1
0
 public void Unsubscribe(ActiveCallbacks _activeCallbacks)
 {
     if (_activeCallbacks == activeCallbacks)
     {
         activeCallbacks = null;
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Set the CurrentCallbacks to make the Audioloop always looping
 /// </summary>
 /// <param name="_activeCallbacks">The callback method to call every single frame</param>
 public void SetCallbacks(ActiveCallbacks _activeCallbacks)
 {
     activeCallbacks = _activeCallbacks;
 }
Esempio n. 3
0
 public void Unsubscribe()
 {
     activeCallbacks = null;
     enabled         = false;
 }