コード例 #1
0
ファイル: PhotonGUI.cs プロジェクト: aidinia/FamilyGame
        internal static string GetIconPath(string iconFileName)
        {
            string _thisIconPath = PhotonNetwork.FindAssetPath("PhotonGUI");

            if (string.IsNullOrEmpty(_thisIconPath))
            {
                _thisIconPath = "Assets/Photon/PhotonUnityNetworking/Code/Editor/" + iconFileName;
            }
            else
            {
                _thisIconPath = _thisIconPath.Replace("PhotonGUI.cs", iconFileName);
            }

            return(_thisIconPath);
        }