예제 #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;
 }