| 1234567891011121314151617181920212223242526272829303132 |
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.UI;
- public class NewOnlineGame : MonoBehaviour
- {
- public Button inviteButton;
- public Button startButton;
- public InputField correctAnswersToWin;
- public InputField timeLimitPerQuestion;
- public InputField timeLimitPerPlayer;
- // Start is called before the first frame update
- void Start()
- {
- inviteButton.onClick.AddListener(OpenInvitePanel);
- }
- private void OpenInvitePanel() {
- GameObject.Find("InvitePanel").GetComponent<InvitePanelScript>().ShowPanel();
- }
- // Update is called once per frame
- void Update()
- {
-
- }
- }
|