uLua v2.2.0
A Lua Modding Framework for Unity.
uLua.AllowLuaOverrideAttribute Class Reference

Custom attribute which allows a userdata method to be overriden in a Lua script. Intended for use with ExposedClass and ExposedMonoBehaviour. More...

Detailed Description

Custom attribute which allows a userdata method to be overriden in a Lua script. Intended for use with ExposedClass and ExposedMonoBehaviour.

You may add the [AllowLuaOverride] attribute to any method of a class which uses the IndexedUserDataDescriptor structure.