Méthode | Description | |
---|---|---|
DestroyLevel ( ) : void |
Returns the binary switches in the level to the object pool.
|
|
OnFinishLevelClicked ( ) : void | ||
SpawnLevel ( int digits ) : void |
Spawns a new set of switches. Also sets the target number.
|
Méthode | Description | |
---|---|---|
Awake ( ) : void | ||
CheckLevelCompletion ( ) : bool |
Checks the binary switches to see if the input matches the target number. Plays wheel animations based on correctness.
|
|
FinishLevel ( ) : void |
Triggers level completion animations and gameplay state.
|
|
Start ( ) : void | ||
TurnOffSuccessLight ( ) : void |
public SpawnLevel ( int digits ) : void | ||
digits | int | Number of binary switches to spawn, as well as the number of digits /// for the goal number. |
Résultat | void |