Method | Description | |
---|---|---|
Awake ( ) : void | ||
Close ( ) : void | ||
EnoughWiresOfType ( ) : bool | ||
InitializePuzzle ( GameObject puzzle_Canvas ) : void |
When the GameObject becomes visible
|
|
NextLevel ( ) : void |
Go to the next level.
|
|
OnDisable ( ) : void |
When the GameObject becomes invisible.
|
|
PreviousLevel ( ) : void |
Back to the previous level.
|
|
PulsateWait ( ) : IEnumerator | ||
RefreshGrid ( ) : void |
Refreshs(Reset) the grid.
|
|
RunPuzzle ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
BuildTheGrid ( ) : void |
Build the grid.
|
|
CheckForPair ( |
||
CheckLevelComplete ( ) : void |
Checks Wheter the level is completed.
|
|
Cleanup ( bool completed ) : void | ||
CreateDraggingElement ( Color color, Vector3 scale ) : void |
Creates the dragging element.
|
|
CreateGridLine ( float lineWidth, Color lineColor, string name, int index ) : void |
Setting up Grid Lines
|
|
CreateNewLevel ( ) : void |
Create a new level.
|
|
CreateWireLine ( Color lineColor, string name, int index ) : void | ||
DelayRun ( ) : IEnumerator | ||
DrawDraggingElement ( Vector3 clickPosition ) : void |
Draw(Drag) the dragging element.
|
|
GridCellClickBegan ( ) : void |
When a click(touch) began on the GridCell.
|
|
GridCellClickMoved ( ) : void |
When a click(touch) moved over the GridCell.
|
|
IncreaseMovements ( ) : void |
Increase the movements counter.
|
|
PulsateGrid ( ) : void | ||
RayCast ( ClickType clickType ) : void |
Raycast the click (touch) on the screen.
|
|
Release ( Line, line ) : void |
On Click Release event.
|
|
RemoveInventoryWires ( ) : void | ||
ResetGameContents ( ) : void |
Resets the game contents.
|
|
SetEndMoves ( ) : void | ||
SetGridPairIngredient ( GridCell, cell, Level, wireType ) : void | ||
SettingUpNextBackAlpha ( ) : void |
Setting up alpha value for the next and back buttons.
|
|
SettingUpObstacles ( ) : void | ||
SettingUpPairs ( ) : void |
Setting up the cells pairs.
|
public InitializePuzzle ( GameObject puzzle_Canvas ) : void | ||
puzzle_Canvas | GameObject | |
return | void |
public AudioClip,UnityEngine beginDrawEffect | ||
return |
public SpriteRenderer draggingElementSpriteRenderer | ||
return | SpriteRenderer |