Double-Fine-Game-Club/bad-golf-community-edition — pull request #50 by Goldenheaven (2014-02-16 23:21:34+00:00)
Title: Menu Functionality & Config File

* Changes to clickable script:

Commented Update Section ( To be Uncommented if
Input.simulateMouseWithTouches doesn't allow touch to call mouse events
).

When mouse is over avaible options will turn text color red.

When mouse is no longer over the text will change color back to white.

* Changes to GameControl script:

Changed Application.LoadLevelAdditive to make it load from selected
menu level.

Commented Update Section as it wasn't doing anything.

* Changed intro object and object that holds current level text to
allow:

Added Tag "Intro" to intro object

Added Tag "LevelID" to current level object

changed the name of current level object to levelID

* Created script Config to allow load of files:

Write basic config xml as start

Function to load levels

* Created script LevelSelect to allow level selection on menu:

Loads level names from Config.cs

Added to change level select on arrow key input

Copied from master and applied changes above