feat: editable properties
CI / build-and-test (push) Successful in 2m19s

This commit is contained in:
2026-03-09 13:24:39 +13:00
parent cd754fda28
commit 2a74648ffd
3 changed files with 378 additions and 3 deletions
+3 -3
View File
@@ -6,11 +6,11 @@ class EntityScript
float baseX;
float baseY;
float baseZ;
float phase;
[editable][range[0,1]]float phase;
// per-instance movement parameters (can be tuned per-entity)
float amplitude = 2.5f;
float speed = 2.5f;
[editable][range[0,10]]float amplitude = 2.5f;
[editable][range[0,10]]float speed = 2.5f;
EntityScript()
{