From 368edeba74eac1067828dbd3fa282e977099f868 Mon Sep 17 00:00:00 2001 From: Campbell Crowley Date: Thu, 19 May 2022 22:45:05 -0700 Subject: [PATCH] Fix TablePrompt vs Question1 renaming --- SpinnerTable/Scripts/TablePicker.cs | 2 +- SpinnerTable/Scripts/TablePrompt.cs | 2 +- U# Assets/TablePicker Udon C# Program Asset.asset | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SpinnerTable/Scripts/TablePicker.cs b/SpinnerTable/Scripts/TablePicker.cs index 5611318..fc85913 100644 --- a/SpinnerTable/Scripts/TablePicker.cs +++ b/SpinnerTable/Scripts/TablePicker.cs @@ -8,7 +8,7 @@ public class TablePicker : UdonSharpBehaviour { public Material table_mat; public Color[] table_col; public string[][] prompts; - public Question1[] tiles; + public TablePrompt[] tiles; public Image[] buttons; [UdonSynced] public int selected = 0; diff --git a/SpinnerTable/Scripts/TablePrompt.cs b/SpinnerTable/Scripts/TablePrompt.cs index 01a8ff9..084cdcb 100644 --- a/SpinnerTable/Scripts/TablePrompt.cs +++ b/SpinnerTable/Scripts/TablePrompt.cs @@ -3,7 +3,7 @@ using VRC.SDKBase; using VRC.Udon; -public class Question1 : UdonSharpBehaviour { +public class TablePrompt : UdonSharpBehaviour { public TMPro.TextMeshProUGUI text; public void SetPrompt(string new_prompt) { text.text = new_prompt; diff --git a/U# Assets/TablePicker Udon C# Program Asset.asset b/U# Assets/TablePicker Udon C# Program Asset.asset index 8992fa5..0343a3d 100644 --- a/U# Assets/TablePicker Udon C# Program Asset.asset +++ b/U# Assets/TablePicker Udon C# Program Asset.asset @@ -251,7 +251,7 @@ MonoBehaviour: Data: 16|System.RuntimeType, mscorlib - Name: Entry: 1 - Data: Question1[], Assembly-CSharp + Data: TablePrompt[], Assembly-CSharp - Name: Entry: 8 Data: