static int get_events(IntPtr L)
{
object o = null;
try
{
o = ToLua.ToObject(L, 1);
UnityEngine.AnimationClip obj = (UnityEngine.AnimationClip)o;
UnityEngine.AnimationEvent[] ret = obj.events;
ToLua.Push(L, ret);
return 1;
}
catch(Exception e)
{
return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index events on a nil value" : e.Message);
}
}