/* Copyright (C) 2014 DaikonForge */ namespace DaikonForge.VoIP { using System.Collections.Generic; /// /// Helper class for when you need a fast way to iterate voice controllers in the scene /// public class VoiceControllerCollection where T : VoiceControllerBase { public static List VoiceControllers = new List(); public static void RegisterVoiceController( T controller ) { VoiceControllers.Add( controller ); } public static void UnregisterVoiceController( T controller ) { VoiceControllers.Remove( controller ); } } }