public static int get_m_followTime(IntPtr l) { int result; try { GenericGraphic.Ghost ghost = (GenericGraphic.Ghost)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, ghost.m_followTime); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { GenericGraphic.Ghost o = new GenericGraphic.Ghost(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_speed(IntPtr l) { int result; try { GenericGraphic.Ghost ghost = (GenericGraphic.Ghost)LuaObject.checkSelf(l); float speed; LuaObject.checkType(l, 2, out speed); ghost.m_speed = speed; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_fx(IntPtr l) { int result; try { GenericGraphic.Ghost ghost = (GenericGraphic.Ghost)LuaObject.checkSelf(l); GenericGraphic fx; LuaObject.checkType <GenericGraphic>(l, 2, out fx); ghost.m_fx = fx; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_targetPosition(IntPtr l) { int result; try { GenericGraphic.Ghost ghost = (GenericGraphic.Ghost)LuaObject.checkSelf(l); Vector2 targetPosition; LuaObject.checkType(l, 2, out targetPosition); ghost.m_targetPosition = targetPosition; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }