using System; using System.Collections; using TMPro; using UnityEngine; using UnityEngine.UI; public class ServerGameFinalSurveyPanel : MonoBehaviour { public static ServerGameFinalSurveyPanel Instance; public static string val1; public static string val2; public static string val3; public static string text1; public Button okButton; private void Awake() { Instance = this; } // Start is called once before the first execution of Update after the MonoBehaviour is created void Start() { if (okButton) { okButton.onClick.AddListener(okButton_onClicked); } } private void okButton_onClicked() { if (ServerWorkSceneController.Instance) { ServerWorkSceneController.Instance.processStep(11); } } // Update is called once per frame void Update() { } }