Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
2
Help us understand the problem. What are the problem?
@jtky8238

unityテスト投稿

何の記事

unityでネットワーク対戦するときにハマり,
解決しなかったことの備忘
※ 読む価値はないです

エラー内容

photonをAssetStoreからインポートしたら
Assets/Photon Unity Networking/Editor/PhotonNetwork/PhotonEditor.cs(483,164): error CS0619: UnityEditor.BuildTarget.iPhone' is obsolete:Use iOS instead (UnityUpgradable) -> iOS'
ってエラーが出る.

対処

else if (!InternalEditorUtility.HasAdvancedLicenseOnBuildTarget(BuildTarget.Android) || !InternalEditorUtility.HasAdvancedLicenseOnBuildTarget(BuildTarget.iPhone))
{
GUILayout.Label(CurrentLang.MobileExportNoteLabel);
GUILayout.Space(15);
}

else if (!InternalEditorUtility.HasAdvancedLicenseOnBuildTarget(BuildTarget.Android) || !InternalEditorUtility.HasAdvancedLicenseOnBuildTarget(BuildTarget.iPhone))

else if (!InternalEditorUtility.HasAdvancedLicenseOnBuildTarget(BuildTarget.Android))

にするとiphoneでは使えなくなりそうだけど,とりあえず動くようになった.

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
2
Help us understand the problem. What are the problem?