Пример #1
0
        public BTActionTranslate(Transform trans, float moveSpeed, BTDataReadOpt dataReadOpt)
        {
            this._trans = trans;
            this._moveSpeed = moveSpeed;
            this._dataReadOpt = dataReadOpt;

            euler = _trans.eulerAngles;
        }
Пример #2
0
        public BTActionTranslate(Transform trans, float moveSpeed, BTDataReadOpt dataReadOpt)
        {
            this._trans       = trans;
            this._moveSpeed   = moveSpeed;
            this._dataReadOpt = dataReadOpt;

            euler = _trans.eulerAngles;
        }
Пример #3
0
 public BTActionMove(Transform trans, float speed, float tolerance, string readDataName, DataOpt dataOpt, UsageOpt usageOpt, BTDataReadOpt dataReadOpt)
 {
     _trans        = trans;
     _speed        = speed;
     _tolerance    = tolerance;
     _readDataName = readDataName;
     _dataOpt      = dataOpt;
     _usageOpt     = usageOpt;
     _dataReadOpt  = dataReadOpt;
 }
Пример #4
0
 public BTActionMove(Transform trans, float speed, float tolerance, string readDataName, DataOpt dataOpt, UsageOpt usageOpt, BTDataReadOpt dataReadOpt)
 {
     _trans = trans;
     _speed = speed;
     _tolerance = tolerance;
     _readDataName = readDataName;
     _dataOpt = dataOpt;
     _usageOpt = usageOpt;
     _dataReadOpt = dataReadOpt;
 }
Пример #5
0
 public BTActionCharacterMove(Transform trans, float speed, float tolerance, Transform targetTrans, BTDataReadOpt dataReadOpt)
     : base(trans,speed,tolerance,targetTrans,dataReadOpt)
 {
 }
Пример #6
0
 public BTActionCharacterMove(Transform trans, float speed, float tolerance, string readDataName
     , DataOpt dataOpt, UsageOpt usageOpt, BTDataReadOpt dataReadOpt)
     : base(trans, speed, tolerance, readDataName, dataOpt, usageOpt,dataReadOpt)
 {
 }
Пример #7
0
 public BTActionTranslate(Transform trans, Vector3 direction, float moveSpeed, BTDataReadOpt dataReadOpt)
     : this(trans, moveSpeed, dataReadOpt)
 {
     this._direction = direction;
 }
Пример #8
0
 public BTActionMove(Transform trans, float speed, float tolerance, Transform targetTrans, BTDataReadOpt dataReadOpt) :
     this(trans, speed, tolerance, null, DataOpt.ProvidedTrans, UsageOpt.Position, dataReadOpt)
 {
     _targetTrans = targetTrans;
 }
Пример #9
0
 public BTActionTranslate(Transform trans, Vector3 direction, float moveSpeed, BTDataReadOpt dataReadOpt)
     : this(trans, moveSpeed, dataReadOpt)
 {
     this._direction = direction;
 }
Пример #10
0
 public BTActionMove(Transform trans, float speed, float tolerance, Transform targetTrans, BTDataReadOpt dataReadOpt)
     : this(trans, speed, tolerance, null, DataOpt.ProvidedTrans, UsageOpt.Position, dataReadOpt)
 {
     _targetTrans = targetTrans;
 }
Пример #11
0
 public BTActionCharacterMove(Transform trans, float speed, float tolerance, string readDataName
                              , DataOpt dataOpt, UsageOpt usageOpt, BTDataReadOpt dataReadOpt)
     : base(trans, speed, tolerance, readDataName, dataOpt, usageOpt, dataReadOpt)
 {
 }
Пример #12
0
 public BTActionCharacterMove(Transform trans, float speed, float tolerance, Transform targetTrans, BTDataReadOpt dataReadOpt)
     : base(trans, speed, tolerance, targetTrans, dataReadOpt)
 {
 }