Lua Scripting¶
Lua Scripting
- Getting Started
- User Variables
- Functions Reference
- Global Scope
- Awake()
- Start()
- Update(unscaledDeltaTime, deltaTime)
- FixedUpdate(deltaTime)
- OnShipEnter(ship)
- OnShipExit(ship)
- OnBehaviourEnter(behaviour)
- OnBehaviourExit(behaviour)
- OnCountdownStart()
- OnCountdownStageTriggered(stage)
- OnCountdownEnd()
- OnAllShipsSpawned()
- OnEventComplete()
- OnShipSpawned(ship)
- OnShipExploded(ship)
- OnShipHitSpeedPad(ship, pad)
- OnShipHitWeaponPad(ship, pad)
- OnShipHitSpeedTile(ship, tile)
- OnShipHitWeaponTile(ship, pad)
- OnShipFinished(ship)
- OnShipTeleported(oldPos, oldRot, ship)
- OnShipLapUpdate(ship)
- API Reference
- Reference Variables
- Static Calls
- Mathf
- Physics
- RenderTexture
- RenderSettings
- Object
- GameObject
- Color
- Color32
- Camera
- Vector2
- Vector2Int
- Vector3
- Vector3Int
- Vector4
- Quaternion
- Matrix4x4
- Texture2D
- Sprite
- Material
- Time
- TrackData
- RaceManager
- Ships
- Race
- NgAudio
- Layers
- LayersIds
- PickupRegistry
- NgMenuContentManager
- Api
- GetInstanceField(obj, fieldName)
- GetField(obj, fieldName)
- GetInstanceProperty(obj, propName)
- GetProperty(obj, propName)
- Easing
- Performance Considerations