diff --git a/Assets/Scenes/SpellingBeeThemeSelection.unity b/Assets/Scenes/SpellingBeeThemeSelection.unity index 71f11e3..faf25f9 100644 --- a/Assets/Scenes/SpellingBeeThemeSelection.unity +++ b/Assets/Scenes/SpellingBeeThemeSelection.unity @@ -912,8 +912,8 @@ MonoBehaviour: m_GameObject: {fileID: 1768150802} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 44fbed5ae228de39b9f727def7578d06, type: 3} + m_Script: {fileID: 11500000, guid: 68caaa5508a4d40448b47630ff86f035, type: 3} m_Name: m_EditorClassIdentifier: - image: {fileID: 0} - input: {fileID: 0} + buttonPrefab: {fileID: 0} + parentTransform: {fileID: 0} diff --git a/Assets/Scripts/SpellingBeeThemeSelectionController.cs b/Assets/Scripts/SpellingBeeThemeSelectionController.cs index a975883..d2efdf9 100644 --- a/Assets/Scripts/SpellingBeeThemeSelectionController.cs +++ b/Assets/Scripts/SpellingBeeThemeSelectionController.cs @@ -8,6 +8,9 @@ public class SpellingBeeThemeSelectionController : MonoBehaviour { public Button buttonPrefab; public Transform parentTransform; + private int buttonHeight = 140; + private int buttonWidth = 600; + // Start is called before the first frame update void Start() { @@ -26,6 +29,13 @@ public class SpellingBeeThemeSelectionController : MonoBehaviour { // Then, add the button component to the game object Button buttonComponent = newButton.AddComponent