コード例 #1
0
 // Use this for initialization
 void Start()
 {
     if (Application.platform == RuntimePlatform.IPhonePlayer)
     {
         CallNativeAPI.PresentUnityAnimated();
     }
 }
コード例 #2
0
 public void Clicked()
 {
     Debug.Log("press");
     if (Application.platform == RuntimePlatform.IPhonePlayer)
     {
         CallNativeAPI.DismissUnityAnimated();
     }
 }