/// <summary> /// 移动限制器 : 目标范围限制(圆形半径范围限制)【注:需要半径值】 /// </summary> /// <returns>电机</returns> public SD_Motor_Vector2 Constraint_Vector_Target_Scope() { if (MotorConstraint) { MotorSave = SS_VectorConstraint.Constraint_Vector2_Scope(MotorSave, MotorTarget, Limit_Radius); } return(this); }
/// <summary> /// 移动限制器 : 本地范围限制(圆形范围限制)【注:需要半径值】 /// </summary> /// <returns>电机</returns> public SD_Motor_Vector2 Constraint_Vector_Local_Scope() { if (MotorConstraint) { MotorSave = SS_VectorConstraint.Constraint_Vector2_Scope(MotorSave, Vector2.zero, Limit_Radius); } return(this); }