![]() | SetCallback_Example Methods |
Name | Description | |
---|---|---|
![]() ![]() | CubeCreatedCallback | InstantiateASLObject function's callback |
![]() | EndOfDeletionCallback | OpFunction's callback : DeleteObject
To add the very last existing position to the set,
and to check if all objcest in the current iteration have finished the process (been deleted),
If yes, spawns a new set of objects with the new settings.
|
![]() | EndOfMovementCallback | OpFunction's callback : IncrementLocalPosition
To delete the given object
|
![]() | SetSettings | Generates a new set of settings with the given ranges. |
![]() | SpawnObjects | Spawns a specific amount of objects(cubes) within specific positions.
If spawning the very first set of objects, the positions are fixed,
Otherwise, the positions where spawning objects are read from m_CurrentDeletionPositions and plus randomness.
|
![]() | Start | Game Logic |
![]() | Update | Updates cubes' movement in the dictionary
If a cube reaches its moving time limit, it will be deleted by the OpFunction callback,
Otherwise, keep moving.
|