Пример #1
0
 private void RegisterRumbleSource(RumbleSource rumble)
 {
     this.activeRumbleSources.Add(rumble);
 }
Пример #2
0
 private void UnregisterRumbleSource(RumbleSource rumble)
 {
     this.activeRumbleSources.Remove(rumble);
 }
Пример #3
0
 public void DestroyRumble(RumbleSource source)
 {
     Destroy(source.gameObject);
     this.UnregisterRumbleSource(source);
 }