private void InitTree() { string path = AssetDatabase.GetAssetPath(target); string assetName = Path.GetFileNameWithoutExtension(path); Tree = new LDtkTreeViewWrapper(JsonData, assetName); }
protected void OnEnable() { TryCacheJson(); Tree = new LDtkTreeViewWrapper(JsonData); InitValues(); }