46 lines
940 B
C#
46 lines
940 B
C#
using System;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class ServerWorkMessageReplyExitSurveyPanel : MonoBehaviour
|
|
{
|
|
public static ServerWorkMessageReplyExitSurveyPanel Instance;
|
|
public static int val1;
|
|
public static int val2;
|
|
public static int val3;
|
|
public static string text1;
|
|
|
|
public TMP_Text surveyText;
|
|
public TMP_Text scoreText;
|
|
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()
|
|
{
|
|
ServerWorkSceneController.Instance.processStep(11);
|
|
}
|
|
|
|
public void loadData()
|
|
{
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|