C# Class MinigameSilhouette.GameStartSil

Inheritance: UnityEngine.MonoBehaviour
Exibir arquivo Open project: BrainProject/UnityTemp

Public Properties

Property Type Description
gameType ResourcePackSil.GameType
main UnityEngine.GameObject
resourcePackMenu UnityEngine.GameObject

Public Methods

Method Description
CreateMenu ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
CreateMainGameObject ( GameObject chosenButton ) : void

Creates new game by setting game dimensions and starting main game script.

DropOther ( GameObject chosenButton, GameObject buttons ) : IEnumerator

COROUTINE. Not selected buttons fall down.

SelectButton ( GameObject chosenButton ) : IEnumerator

COROUTINE. Selected button flies towards camera. Also starts new game.

Method Details

CreateMenu() public method

public CreateMenu ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

gameType public_oe property

public ResourcePackSil.GameType gameType
return ResourcePackSil.GameType

main public_oe property

public GameObject,UnityEngine main
return UnityEngine.GameObject

resourcePackMenu public_oe property

public GameObject,UnityEngine resourcePackMenu
return UnityEngine.GameObject