//OYM:new一个出来 private ADBConstraintReadAndPointControll(Transform rootTransform, string keyWord, ADBSetting setting) { rootNode = new ADBRuntimePoint(rootTransform, -1);//OYM:rootpoint指所有fix骨骼的同一个父节点,他会独立出来,而不是参与到计算当中 rootNode.index = -1; this.keyWord = keyWord; fixedNodeList = new List <ADBRuntimePoint>(); allNodeList = new List <ADBRuntimePoint>(); addVirtualPointList = new List <ADBRuntimePoint>(); maxNodeDepth = 1; aDBSetting = setting; }
public ADBConstraintReadAndPointControll(ADBRuntimePoint rootNode, string keyWord, ADBSetting setting) { this.rootNode = rootNode;//OYM:rootpoint指所有fix骨骼的同一个父节点,他会独立出来,而不是参与到计算当中 rootNode.index = -1; this.keyWord = keyWord; fixedNodeList = new List <ADBRuntimePoint>(); allNodeList = new List <ADBRuntimePoint>(); maxNodeDepth = 1; aDBSetting = setting; }
public void OnEnable() { controller = target as ADBSetting; }
public void SetADBSetting(ADBSetting setting) { aDBSetting = setting; isInitialize = false; }