Tile - YWorld - Get All Game Logic Objects – Ylands
Jump to navigation
Jump to search
Get All Game Logic Objects()
static getAllGameLogicObjects(): YLogic[];
Returns
YLogic[] Returns an array of all game logic objects placed in the game.
Availability
Description
Returns an array of all game logic objects placed in the game.
Get All Game Logic Objects(Type)
static getAllGameLogicObjectsOfType(type: YGameLogicType): YLogic[];
Parameters
type
Returns
YLogic[] Returns an array of all game logic objects placed in the game, of the selected type.
Availability
Description
Returns an array of all game logic objects placed in the game, of the selected type.