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: