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