Example #1
0
        /// <summary>
        /// Initialize the game to be played offline
        /// </summary>
        private void LocalPlaySetup()
        {
            mainMenu.Deactivation();
            playMenu.Deactivation();

            //welcomeMessageText.text = messages[1];

            OfflinePlayReady?.Invoke();

            PlayerJoined?.Invoke(0);
        }
        private void LocalPlaySetup()
        {
            localPlayButton.gameObject.SetActive(false);
            onlinePlayButton.gameObject.SetActive(false);
            createRoomButton.gameObject.SetActive(false);
            joinRoomButton.gameObject.SetActive(false);

            OfflinePlayReady?.Invoke();

            PlayerJoined?.Invoke(0);
            PlayerJoined?.Invoke(1);
            PlayerJoined?.Invoke(2);
            PlayerJoined?.Invoke(3);
        }