Esempio n. 1
0
        private void SendStartGameMessage()
        {
            if (model == null || opponentId == null || model.PowerUpsPosition == null || model.SideObjectsPosition == null)
            {
                return;
            }

            Debug.Log("[SendStartGameMessage]");
            GameServices.RealTime.SendMessage(start, opponentId, model.CreateStartGameMessage());
        }
        private void SendStartGameMessage()
        {
            if (model == null || opponentId == null || model.PowerUpsPosition == null || model.SideObjectsPosition == null)
            {
                return;
            }

            GameServices.RealTime.SendMessage(start, opponentId, model.CreateStartGameMessage());
            stopwatch.Start();
        }