static int get_enabled(IntPtr L)
{
object o = null;
try
{
o = ToLua.ToObject(L, 1);
UnityEngine.AnimationState obj = (UnityEngine.AnimationState)o;
bool ret = obj.enabled;
LuaDLL.lua_pushboolean(L, ret);
return 1;
}
catch(Exception e)
{
return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index enabled on a nil value" : e.Message);
}
}