Examples
Adding a Layout Script to a Layout
- Add a new Layout to the scene.
- Create a new script and select Layout as the type.
- Add your script as a child of the Layout.
Lifecycle
Layout Scripts add two additional lifecycle functions:measure(self): Vec2D— optionalresize(self, size: Vec2D)— required