public static void RemoveListener(KamcordCallbackInterface listener) { #if UNITY_IPHONE listeners.Remove(listener); #endif }
// Call this static method to have your object receive all of the // KamcordCallbackInterface callbacks. public static void AddListener(KamcordCallbackInterface listener) { #if UNITY_IPHONE if (!listeners.Contains(listener)) { listeners.Add(listener); } #endif }