DESKTOP-B25GA9E\W35
2 years ago
3 changed files with 53 additions and 5 deletions
@ -0,0 +1,29 @@
@@ -0,0 +1,29 @@
|
||||
using System.Collections; |
||||
using System.Collections.Generic; |
||||
using UnityEngine; |
||||
using UnityEditor; |
||||
|
||||
namespace JXSoft { |
||||
|
||||
public class GenerateToolsEditor : EditorWindow |
||||
{ |
||||
public TextAsset JsonFile; |
||||
|
||||
[MenuItem("JXSoft/Generate/JsonStruct")] |
||||
static void Init() |
||||
{ |
||||
var window = GetWindow<JsonFileLoaderEditor>(); |
||||
window.Show(); |
||||
} |
||||
|
||||
void OnGUI() |
||||
{ |
||||
JsonFile = (TextAsset)EditorGUILayout.ObjectField("JsonFile", JsonFile, typeof(TextAsset), true); |
||||
if (GUILayout.Button("AnalyzeJsonFile")) |
||||
{ |
||||
|
||||
} |
||||
} |
||||
} |
||||
|
||||
} |
@ -0,0 +1,11 @@
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 333d97406b2769141b1fb4d484e2d422 |
||||
MonoImporter: |
||||
externalObjects: {} |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
Loading…
Reference in new issue