new InWorld()
The InWorld component checks if a Game Object is within the Game World Bounds.
An object is considered as being "in bounds" so long as its own bounds intersects at any point with the World bounds.
If the AutoCull component is enabled on the Game Object then it will check the Game Object against the Camera bounds as well.
- Source code: gameobjects/components/InWorld.js (Line 14)
Please login to continue.