public void Start(ServerDatas serverDatas, ServerDatas sdatas, Func <ClientGameMaster> createGameMaster, bool debug = false)
 {
     Client     = new MyUdpClient();
     this.debug = debug;
     Client.Start(serverDatas.address, serverDatas.port, GetReady, debug);
     _gameMaster = createGameMaster();
     _gameMaster.Init(this);
 }
 public static ClientGameMaster Get()
 {
     if (_instance == null)
     {
         _instance = new ClientGameMaster();
     }
     return(_instance);
 }