Script API reference
Types from the Kolpa.Engine assembly, the API your C# scripts compile against.
Signatures are generated from the built assembly, so they match the code that ships.
Groups
Section titled “Groups”- Audio: 11 types
- Input: 5 types
- Math: 6 types
- Physics: 11 types
- Rendering: 10 types
- Scene: 8 types
- Scripting: 3 types
- Ui: 33 types
Using the API
Section titled “Using the API”Scripts derive from MonoBehaviour in the Kolpa.Engine namespace:
using Kolpa.Engine;
public class Rotator : MonoBehaviour{ public float Speed = 45f;
public override void OnUpdate(float deltaTime) { transform.Rotate(0f, Speed * deltaTime, 0f); }}See C# scripting for the lifecycle and build loop.
