2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

unityテスト投稿

Last updated at Posted at 2018-02-20

何の記事

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では使えなくなりそうだけど,とりあえず動くようになった.

2
2
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?