예제 #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());
 }