You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
491 B

  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class LobbyUIController : MonoBehaviour {
  5. private void Start()
  6. {
  7. Multiplayer.PlayersManager.Instance.LocalPlayer.gameObject.GetComponent<LocalPlayer>().heldVeggie = null;
  8. }
  9. public void OnClickStartGame()
  10. {
  11. Multiplayer.ClientManager.Instance.SendMessage(Multiplayer.PlayerMsgID.GameStart, new Multiplayer.PlayerMsg(Multiplayer.ClientManager.Instance.ID));
  12. }
  13. }