Endstar LUA API Documentation
Loading...
Searching...
No Matches
LuaInterfaceEvent Class Reference

An event within lua that will broadcast a change. Can be subscribed to in Lua code. Use "SubscribeToLuaEvent" and "UnsubscribeToLuaEvent" to manage subscription Example: local health = context.TryGetComponent(Component.Health) SubscribeToLuaEvent(health.OnHealthChanged, "MyFunctionName") More...

Detailed Description

An event within lua that will broadcast a change. Can be subscribed to in Lua code. Use "SubscribeToLuaEvent" and "UnsubscribeToLuaEvent" to manage subscription Example: local health = context.TryGetComponent(Component.Health) SubscribeToLuaEvent(health.OnHealthChanged, "MyFunctionName")