コード例 #1
0
 private void AnimatorChange(bool isChange, AbstractNetworkAnimator networkAnimator, IUserCmd cmd)
 {
     if (isChange)
     {
         networkAnimator.NeedChangeServerTime = true;
         networkAnimator.BaseServerTime       = -1;
         networkAnimator.BaseClientTime       = cmd.ClientTime;
         //_logger.InfoFormat("baseServerTime change to -1!!!,p3Change:{1} ,seq:{0}, new change:{2}", cmd.Seq, p3Change,_fsmOutputs.AnimatorP3ChangedTrigger());
     }
     else
     {
         networkAnimator.NeedChangeServerTime = false;
     }
 }
コード例 #2
0
 private void AnimatorChange(AbstractNetworkAnimator networkAnimator, IUserCmd cmd)
 {
     networkAnimator.NeedChangeServerTime = true;
     networkAnimator.BaseServerTime       = -1;
 }