Skip to content

v1.4.0

Choose a tag to compare

@Snow0406 Snow0406 released this 25 Jun 20:51
· 9 commits to main since this release
v1.4.0
c1b35f6

EmmyLua Annotation System Integration

  • Enhanced IDE Support: Full EmmyLua annotation support for intelligent autocomplete and type checking
  • Real-time Development: Method suggestions with parameter hints and inline documentation

API Improvements & Breaking Changes

  • LuaTransformCommand:

    • setPosition(x, y) → pos(x, y)
    • setRotation(x, y) → rot(x, y)
    • setScale(x, y) → scale(x, y)
  • LuaGameObject:

    • animation() → anim()
    • SetActive(bool) → active(bool)
-- Before
player:animation():play("Idle")
player:transform():setPosition(10, 5)
player:setActive(false)

-- After (cleaner & consistent)
player:anim():play("Idle")
player:transform():pos(10, 5)
player:active(false)