public ADBRuntimePoint(Transform trans, int depth, string keyWord = null, bool isAllowComputeOtherConstraint = true)
 {
     this.trans     = trans;
     this.keyWord   = keyWord;
     this.depth     = depth;
     pointRead      = new PointRead();
     pointReadWrite = new PointReadWrite();
     this.isAllowComputeOtherConstraint = isAllowComputeOtherConstraint;
 }
 public ADBRuntimePoint(Transform trans, int depth, string keyWord = null, bool isAllowComputeOtherConstraint = false)
 {
     if (keyWord == null) //OYM:root点(只起一个逻辑点的作用)
     {
         this.trans = trans;
         this.depth = depth;
     }
     else
     {
         this.trans     = trans;
         this.keyWord   = keyWord;
         this.depth     = depth;
         this.isFixed   = depth == 0;
         pointRead      = new PointRead();
         pointReadWrite = new PointReadWrite();
     }
 }
예제 #3
0
 public ADBRuntimePoint(Transform trans, int depth, string keyWord = null, bool isVirtual = false)
 {
     if (keyWord == null) //OYM:root点(只起一个逻辑点的作用)
     {
         this.trans = trans;
         this.depth = depth;
     }
     else
     {
         this.trans     = trans;
         this.keyWord   = keyWord;
         this.depth     = depth;
         this.isVirtual = isVirtual;
         this.isFixed   = depth == 0;
         pointRead      = new PointRead();
         pointReadWrite = new PointReadWrite();
     }
     if (isVirtual)
     {
         pointRead.isVirtual = true;
     }
 }