Beispiel #1
0
        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);
        }