コード例 #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());
 }