// Use this for initialization void Start() { if (Application.platform == RuntimePlatform.IPhonePlayer) { CallNativeAPI.PresentUnityAnimated(); } }
public void Clicked() { Debug.Log("press"); if (Application.platform == RuntimePlatform.IPhonePlayer) { CallNativeAPI.DismissUnityAnimated(); } }