public static int get_controllerName(IntPtr l) { int result; try { ControllerDescriptionAttribute controllerDescriptionAttribute = (ControllerDescriptionAttribute)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, controllerDescriptionAttribute.controllerName); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_prefabPath(IntPtr l) { int result; try { ControllerDescriptionAttribute controllerDescriptionAttribute = (ControllerDescriptionAttribute)LuaObject.checkSelf(l); string prefabPath; LuaObject.checkType(l, 2, out prefabPath); controllerDescriptionAttribute.prefabPath = prefabPath; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { string prefabPath; LuaObject.checkType(l, 2, out prefabPath); string controllerName; LuaObject.checkType(l, 3, out controllerName); ControllerDescriptionAttribute o = new ControllerDescriptionAttribute(prefabPath, controllerName); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }