using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class HunterGameSettleView : MonoBehaviour { // Start is called before the first frame update void Start() { GameMode gameMode = GameMgr.ins.gameMode; this.transform.Find("Res").GetComponent().text = gameMode.Settle()[0].ToString(); } public void TryAgain() { SceneManager.LoadScene("GameChallenge", LoadSceneMode.Single); } }