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