Example Lua Scripts¶
Here are some example scripts that can be used as an example to learn about Lua.
- Funny Cube - An internal test script that spins the object it's in
- Disable GameObject at Home - Disable a GameObject at home.
- Teleport from Water - Teleport when fully immersed in water.
- Thumbs Up Player Launcher - Launch upward when doing 2x thumbs up gesture.
- Viewpoint Raycast - Perform a raycast from the player's viewpoint.
- Player Profile / Avatar Picture - Get Player Profile and Avatar pictures.