0
|
1 using UnityEngine;
|
|
2 public interface JungleTreeEditor {
|
|
3 Either<Error,JungleTreeEditor> addNewChildAt(NodePath path,int pos);
|
|
4 Either<Error,JungleTreeEditor> deleteChildAt(NodePath path,int pos);
|
|
5 Either<Error,JungleTreeEditor> putAttribute(NodePath path,string key, GameObject value);
|
|
6 Either<Error,JungleTreeEditor> deleteAttribute(NodePath path,string key);
|
|
7 Either<Error, JungleTreeEditor> replaceNewRootNode();
|
|
8 Either<Error,JungleTreeEditor> edit(NodePath path,NodeEditor editor);
|
|
9 Either<Error,JungleTreeEditor> success();
|
|
10 Either<Error,JungleTreeEditor> flushSuccess();
|
|
11
|
|
12 }
|