public override void HandleMessage(MessageInfo message) { if (MessageManager.isNetwork) { // ステート同期メッセージ if (message.messageType == MessageType.SyncState) { SyncStateInfo info = new SyncStateInfo(); message.GetExtraInfo <SyncStateInfo>(ref info); currentStateNames[message.fromPlayerID] = info.cStateName.ToString(); return; } } stateMachine.HandleMessage(message); }
public bool HandleMessge(MessageInfo message) { return(m_pStateMachine.HandleMessage(message)); }
public override void HandleMessage(MessageInfo message) { stateMachine.HandleMessage(message); }