Пример #1
0
 public void CopyData(ref MoveBulletDurationContext r)
 {
     this.length             = r.length;
     this.targetId           = r.targetId;
     this.destId             = r.destId;
     this.MoveType           = r.MoveType;
     this.targetPosition     = r.targetPosition;
     this.offsetDir          = r.offsetDir;
     this.velocity           = r.velocity;
     this.acceleration       = r.acceleration;
     this.distance           = r.distance;
     this.gravity            = r.gravity;
     this.bMoveRotate        = r.bMoveRotate;
     this.bAdjustSpeed       = r.bAdjustSpeed;
     this.bBulletUseDir      = r.bBulletUseDir;
     this.bUseIndicatorDir   = r.bUseIndicatorDir;
     this.bReachDestStop     = r.bReachDestStop;
     this.bResetMoveDistance = r.bResetMoveDistance;
     this.skillContext       = r.skillContext;
     this.destPosition       = r.destPosition;
     this.lastTime           = r.lastTime;
     this.hitHeight          = r.hitHeight;
     this.tarActor           = r.tarActor;
     this.moveActor          = r.moveActor;
     this.gravityControler   = r.gravityControler;
     this.stopCondtion       = r.stopCondtion;
     this.moveDirection      = r.moveDirection;
     this.lerpDirection      = r.lerpDirection;
     this.lastVelocity       = r.lastVelocity;
     this.lastLerpVelocity   = r.lastLerpVelocity;
 }
 public void CopyData(ref MoveBulletDurationContext r)
 {
     this.length                          = r.length;
     this.targetId                        = r.targetId;
     this.destId                          = r.destId;
     this.MoveType                        = r.MoveType;
     this.targetPosition                  = r.targetPosition;
     this.offsetDir                       = r.offsetDir;
     this.velocity                        = r.velocity;
     this.acceleration                    = r.acceleration;
     this.distance                        = r.distance;
     this.gravity                         = r.gravity;
     this.bMoveRotate                     = r.bMoveRotate;
     this.bAdjustSpeed                    = r.bAdjustSpeed;
     this.bBulletUseDir                   = r.bBulletUseDir;
     this.bUseIndicatorDir                = r.bUseIndicatorDir;
     this.bReachDestStop                  = r.bReachDestStop;
     this.bResetMoveDistance              = r.bResetMoveDistance;
     this.skillContext                    = r.skillContext;
     this.destPosition                    = r.destPosition;
     this.lastTime                        = r.lastTime;
     this.hitHeight                       = r.hitHeight;
     this.tarActor                        = r.tarActor;
     this.originateActor                  = r.originateActor;
     this.moveActor                       = r.moveActor;
     this.gravityControler                = r.gravityControler;
     this.stopCondtion                    = r.stopCondtion;
     this.moveDirection                   = r.moveDirection;
     this.lerpDirection                   = r.lerpDirection;
     this.lastVelocity                    = r.lastVelocity;
     this.lastLerpVelocity                = r.lastLerpVelocity;
     this.zCurPosition                    = r.zCurPosition;
     this.xDirection                      = r.xDirection;
     this.bMoveOnXAxis                    = r.bMoveOnXAxis;
     this.distanceZ0                      = r.distanceZ0;
     this.distanceZ1                      = r.distanceZ1;
     this.distanceX                       = r.distanceX;
     this.zDirection                      = r.zDirection;
     this.xDestPosition                   = r.xDestPosition;
     this.rotateBodyDegreeSpeed           = r.rotateBodyDegreeSpeed;
     this.rotateBodyRadius                = r.rotateBodyRadius;
     this.rotateBodyHeight                = r.rotateBodyHeight;
     this.rotateBodyFindEnemyLatency      = r.rotateBodyFindEnemyLatency;
     this.rotateBodyFindEnemyRadius       = r.rotateBodyFindEnemyRadius;
     this.rotateBodyFindEnemyCd           = r.rotateBodyFindEnemyCd;
     this.rotateBodyBulletCount           = r.rotateBodyBulletCount;
     this.bFindTargetByRotateBodyBullet   = r.bFindTargetByRotateBodyBullet;
     this.rotateBodyCurDirDegreeAngle     = r.rotateBodyCurDirDegreeAngle;
     this.lerpRotateBodyCurDirDegreeAngle = r.lerpRotateBodyCurDirDegreeAngle;
 }