Пример #1
0
        public BehaviourTree(long uid)
        {
            guid = uid;

            root          = new Root();
            root.guid     = GuidGen.GenUniqueGUID();
            root.Position = new UnityEngine.Vector2(0, 0);
        }
Пример #2
0
 public BehaviourTree()
 {
     if (root == null)
     {
         root          = new Root();
         root.guid     = GuidGen.GenUniqueGUID();
         root.Position = new UnityEngine.Vector2(0, 0);
     }
 }
Пример #3
0
 public BehaviourTree(BehaviourTree inst)
 {
     guidString  = inst.guidString;
     guid        = GuidGen.GenUniqueGUID();
     title       = inst.title;
     description = inst.description;
     root        = inst.root;
     btAsset     = inst.btAsset;
     ReadOnly    = inst.ReadOnly;
 }
Пример #4
0
 public static long GenUniqueGUID()
 {
     return(GuidGen.GenUniqueGUID());
 }