/// <summary> /// Register a delegate to be called when disconnected from the Tango Android service. /// </summary> /// <param name="onDisconnected">Delegate to get called.</param> internal static void RegisterOnTangoServiceDisconnected(OnTangoServiceDisconnected onDisconnected) { #if UNITY_ANDROID && !UNITY_EDITOR if (m_tangoServiceLifecycle == null) { _RegisterTangoServiceLifecycle(); } m_tangoServiceLifecycle.m_onTangoServiceDisconnected += onDisconnected; #endif }
/// <summary> /// Register a delegate to be called when disconnected from the Tango Android service. /// </summary> /// <param name="onDisconnected">Delegate to get called.</param> internal static void RegisterOnTangoServiceDisconnected(OnTangoServiceDisconnected onDisconnected) { #if UNITY_ANDROID && !UNITY_EDITOR if (m_tangoServiceLifecycle == null) { _RegisterTangoServiceLifecycle(); } m_tangoServiceLifecycle.m_onTangoServiceDisconnected += onDisconnected; #endif }