コード例 #1
0
 public void ChangeState(SActor actor, UpdateStateMachine updateStateMachine, ActorState state, float duration)
 {
     actor.ChangeStateServerSide(state, duration);
     actor.BeginState = Timing.sInstance.GetFrameStartTime();
     NetworkManagerServer.sInstance.SetStateDirty(actor.GetNetworkId(), actor.WorldId, (uint)Actor.ReplicationState.State);
     this.updateStateMachine = updateStateMachine;
 }