static int get_m_vfCharcter(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FootMan obj = (FootMan)o; VFCharacter ret = obj.m_vfCharcter; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index m_vfCharcter on a nil value")); } }
static int set_m_vfCharcter(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); FootMan obj = (FootMan)o; VFCharacter arg0 = (VFCharacter)ToLua.CheckObject <VFCharacter>(L, 2); obj.m_vfCharcter = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index m_vfCharcter on a nil value")); } }
void Awake() { m_vfCharcter = GetComponent <VFCharacter>(); }