Ejemplo n.º 1
0
 private static void onMenuSelect()
 {
     if (ScriptPath [ScriptPath.Length - 1] != '/')
     {
         ScriptPath = $"{ScriptPath}/";
     }
     GetSharedData.getWebtext();
 }
Ejemplo n.º 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}");
    }
Ejemplo n.º 3
0
 private void OnDestroy()
 {
     SingletonObject = null;
 }