-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTextUpdateScript.cs
More file actions
30 lines (25 loc) · 837 Bytes
/
Copy pathTextUpdateScript.cs
File metadata and controls
30 lines (25 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using TMPro;
using UnityEngine;
public class TextUpdateScript : MonoBehaviour
{
public BuildSO buildSO;
public TextMeshProUGUI InstitutionText;
public TextMeshProUGUI PlatformText;
public TextMeshProUGUI APIURLText;
public TextMeshProUGUI SemesterText;
public TextMeshProUGUI GameVersionText;
// Start is called before the first frame update
void Awake()
{
//institution
InstitutionText.text = "Institution: " + buildSO.institution;
//platform
PlatformText.text = "Platform: " + buildSO.targetPlatform;
//apiurl
APIURLText.text = "APIURL: " + buildSO.baseAPIURL;
//semester
SemesterText.text = " semester: " + buildSO.semester;
//gameversion
GameVersionText.text = " GameVersion: " + buildSO.GameVersion;
}
}