2017-04-20 4 views
0

Unity3D의 버튼을 통해 AppStore를 직접 또는 Safari를 통해 열 때 문제가 있습니다. 다음 코드가 있지만 작동하지 않습니다. Safari가 주소가 유효하지 않다고 불평합니다. https://itunes.apple.com/us/developer/best-free-games-3d/id959029626Unity 3D AppStore 링크 공개 문제

public void OnClick() 
    { 
     Application.OpenURL ("https://itunes.apple.com/us/developer/best-free-games-3d/id959029626"); 

     Sound.instance.PlayButton(); 
    } 

Safari invalid address error message

답변

0

찾을 슈퍼 솔루션 :

#if UNITY_IPHONE 
Application.OpenURL("itms-apps://itunes.apple.com/us/developer/best-free-games-3d/id959029626"); 
#endif 
브라우저에서 사용하는 경우

주소가 확인 될 것으로 보인다