private void OnApplicationPause(bool pause) { if (pause) { foreach (KeyValuePair <string, PeripheralList> i in s_Peripherals) { if (i.Value.list.Count > 0) { foreach (DpnBasePeripheral s in i.Value.list) { s.DpnpPause(); } } } Composer.Pause(); } else { StartCoroutine(_OnResume()); } }
public override void DpnpPause() { #if UNITY_ANDROID && !UNITY_EDITOR Composer.Pause(); #endif }