📘 Table with GamePlay class parameters
| Property | Type | Description |
|---|---|---|
TimeOfAppearance |
float |
Time of appearance of 1 square divided by the total number of squares |
TimeOfDisappearance |
float |
Time of disappearance of 1 square divided by the total number of squares |
LoadNextLevelName |
string |
The name of the level that will be loaded after the player has painted all the squares |
Buttons |
array Button |
An array that stores all the buttons of the squares |
DoneButton |
array GameObject |
Array, which stores all game objects that are responsible for painting the square |
Text |
array CanvasGroup |
An array that stores the text of each individual square |
NumbersData |
array Numbers |
Numbers class array which stores 2 parameters Name and TargetNumberCount, to initialise a new square just create a new array |
currentLevel |
int |
A number indicating which level this is. |
RandomScale |
bool |
The switch is responsible for the effect of the appearance and disappearance of squares; if the value is true, then the squares will appear and disappear in a random sequence, and if false, then in order |
📘 Table with Numbers class parameters
| Property | Type | Description |
|---|---|---|
Name |
string |
The name of the square in our case is Number 1..n |
TargetNumberCount |
int |
This value is responsible for the total number of wadrats with a certain value, e.g. 4 squares. |
📘 Table with Square class parameters
| Property | Type | Description |
|---|---|---|
SqaureID |
int |
Square ID if your square has number 1 then ID = 1, and so on. |
https://www.youtube.com/watch?v=T7z7K6H7TjY&ab_channel=AmfichAssets