Exemplo n.º 1
0
        private void InitTree()
        {
            string path      = AssetDatabase.GetAssetPath(target);
            string assetName = Path.GetFileNameWithoutExtension(path);

            Tree = new LDtkTreeViewWrapper(JsonData, assetName);
        }
Exemplo n.º 2
0
 protected void OnEnable()
 {
     TryCacheJson();
     Tree = new LDtkTreeViewWrapper(JsonData);
     InitValues();
 }