public static bool SaveBehaviorTree(BehaviorTree behaviorTree, string filePath) { if (instance == null) { instance = new XmlAssetProcessor(); } return(instance.Save(behaviorTree, filePath)); }
public static BehaviorTree LoadBehaviorTree(string filePath) { if (instance == null) { instance = new XmlAssetProcessor(); } return(instance.Load(filePath)); }