public SetProcessor ( DataProcessor, processor ) : void | ||
processor | DataProcessor, | |
리턴 | void |
void OnEnable() { _gameController = GetComponent<GameController>(); SessionData session = GameObject.Find("Lobby Settings").GetComponent<SessionData>(); ServerComs = session.ServerCom; Guid = session.Guid; CornerId = session.OwnId; ServerComs.SetGuid(Guid); ServerComs.SetErrorHandler(this); ServerComs.SetProcessor(new DataProcessor(this, this, null)); }