Skip to content

Commit

Permalink
Fix TablePrompt vs Question1 renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
CampbellCrowley committed May 20, 2022
1 parent b93ed17 commit 368edeb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SpinnerTable/Scripts/TablePicker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion SpinnerTable/Scripts/TablePrompt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion U# Assets/TablePicker Udon C# Program Asset.asset
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 368edeb

Please sign in to comment.