示例#1
0
 private static void onMenuSelect()
 {
     if (ScriptPath [ScriptPath.Length - 1] != '/')
     {
         ScriptPath = $"{ScriptPath}/";
     }
     GetSharedData.getWebtext();
 }
示例#2
0
    private static void Open()
    {
        SingletonObject = GetWindow <GetSharedData> ();
        var icon = AssetDatabase.LoadAssetAtPath <Texture> (WindowIconPath);

        SingletonObject.titleContent = new GUIContent("GetSharedData", icon);
        Debug.Log($"GetSharedData: Project {PlayerSettings.companyName}/{PlayerSettings.productName}");
    }
示例#3
0
 private void OnDestroy()
 {
     SingletonObject = null;
 }