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