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