Click or drag to resize

SetCallback_Example Methods

Methods
  NameDescription
Private methodStatic memberCubeCreatedCallback
InstantiateASLObject function's callback
Private methodEndOfDeletionCallback
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.
Private methodEndOfMovementCallback
OpFunction's callback : IncrementLocalPosition To delete the given object
Private methodSetSettings
Generates a new set of settings with the given ranges.
Private methodSpawnObjects
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.
Private methodStart
Game Logic
Private methodUpdate
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.
Top
See Also