public BehaviourTree(long uid) { guid = uid; root = new Root(); root.guid = GuidGen.GenUniqueGUID(); root.Position = new UnityEngine.Vector2(0, 0); }
public BehaviourTree() { if (root == null) { root = new Root(); root.guid = GuidGen.GenUniqueGUID(); root.Position = new UnityEngine.Vector2(0, 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; }
public static long GenUniqueGUID() { return(GuidGen.GenUniqueGUID()); }