C# Class MinigameSilhouette.GameStartSil

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: BrainProject/UnityTemp

Méthodes publiques

Свойство Type Description
gameType ResourcePackSil.GameType
main UnityEngine.GameObject
resourcePackMenu UnityEngine.GameObject

Méthodes publiques

Méthode Description
CreateMenu ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Méthode 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 méthode

public CreateMenu ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

gameType public_oe property

public ResourcePackSil.GameType gameType
Résultat ResourcePackSil.GameType

main public_oe property

public GameObject,UnityEngine main
Résultat UnityEngine.GameObject

resourcePackMenu public_oe property

public GameObject,UnityEngine resourcePackMenu
Résultat UnityEngine.GameObject