public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.Sprite), typeof(UnityEngine.Object)); L.RegFunction("Create", Create); L.RegFunction("OverrideGeometry", OverrideGeometry); L.RegFunction("New", _CreateUnityEngine_Sprite); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("bounds", get_bounds, null); L.RegVar("rect", get_rect, null); L.RegVar("pixelsPerUnit", get_pixelsPerUnit, null); L.RegVar("texture", get_texture, null); L.RegVar("associatedAlphaSplitTexture", get_associatedAlphaSplitTexture, null); L.RegVar("textureRect", get_textureRect, null); L.RegVar("textureRectOffset", get_textureRectOffset, null); L.RegVar("packed", get_packed, null); L.RegVar("packingMode", get_packingMode, null); L.RegVar("packingRotation", get_packingRotation, null); L.RegVar("pivot", get_pivot, null); L.RegVar("border", get_border, null); L.RegVar("vertices", get_vertices, null); L.RegVar("triangles", get_triangles, null); L.RegVar("uv", get_uv, null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.Shader), typeof(UnityEngine.Object)); L.RegFunction("Find", Find); L.RegFunction("EnableKeyword", EnableKeyword); L.RegFunction("DisableKeyword", DisableKeyword); L.RegFunction("IsKeywordEnabled", IsKeywordEnabled); L.RegFunction("SetGlobalColor", SetGlobalColor); L.RegFunction("SetGlobalVector", SetGlobalVector); L.RegFunction("SetGlobalFloat", SetGlobalFloat); L.RegFunction("SetGlobalInt", SetGlobalInt); L.RegFunction("SetGlobalTexture", SetGlobalTexture); L.RegFunction("SetGlobalMatrix", SetGlobalMatrix); L.RegFunction("SetGlobalBuffer", SetGlobalBuffer); L.RegFunction("PropertyToID", PropertyToID); L.RegFunction("WarmupAllShaders", WarmupAllShaders); L.RegFunction("New", _CreateUnityEngine_Shader); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("isSupported", get_isSupported, null); L.RegVar("maximumLOD", get_maximumLOD, set_maximumLOD); L.RegVar("globalMaximumLOD", get_globalMaximumLOD, set_globalMaximumLOD); L.RegVar("renderQueue", get_renderQueue, null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(Array), typeof(System.Object)); L.RegFunction(".geti", get_Item); L.RegFunction(".seti", set_Item); L.RegFunction("ToTable", ToTable); L.RegFunction("GetLength", GetLength); L.RegFunction("GetLongLength", GetLongLength); L.RegFunction("GetLowerBound", GetLowerBound); L.RegFunction("GetValue", GetValue); L.RegFunction("SetValue", SetValue); L.RegFunction("GetEnumerator", GetEnumerator); L.RegFunction("GetUpperBound", GetUpperBound); L.RegFunction("CreateInstance", CreateInstance); L.RegFunction("BinarySearch", BinarySearch); L.RegFunction("Clear", Clear); L.RegFunction("Clone", Clone); L.RegFunction("Copy", Copy); L.RegFunction("IndexOf", IndexOf); L.RegFunction("Initialize", Initialize); L.RegFunction("LastIndexOf", LastIndexOf); L.RegFunction("Reverse", Reverse); L.RegFunction("Sort", Sort); L.RegFunction("CopyTo", CopyTo); L.RegFunction("ConstrainedCopy", ConstrainedCopy); L.RegFunction("__tostring", Lua_ToString); L.RegVar("Length", get_Length, null); L.RegVar("LongLength", get_LongLength, null); L.RegVar("Rank", get_Rank, null); L.RegVar("IsSynchronized", get_IsSynchronized, null); L.RegVar("SyncRoot", get_SyncRoot, null); L.RegVar("IsFixedSize", get_IsFixedSize, null); L.RegVar("IsReadOnly", get_IsReadOnly, null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.UI.Button.ButtonClickedEvent), typeof(UnityEngine.Events.UnityEvent)); L.RegFunction("New", _CreateUnityEngine_UI_Button_ButtonClickedEvent); L.RegFunction("__tostring", ToLua.op_ToString); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.EventSystems.PointerEventData), typeof(UnityEngine.EventSystems.BaseEventData)); L.RegFunction("IsPointerMoving", IsPointerMoving); L.RegFunction("IsScrolling", IsScrolling); L.RegFunction("ToString", ToString); L.RegFunction("New", _CreateUnityEngine_EventSystems_PointerEventData); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("hovered", get_hovered, set_hovered); L.RegVar("pointerEnter", get_pointerEnter, set_pointerEnter); L.RegVar("lastPress", get_lastPress, null); L.RegVar("rawPointerPress", get_rawPointerPress, set_rawPointerPress); L.RegVar("pointerDrag", get_pointerDrag, set_pointerDrag); L.RegVar("pointerCurrentRaycast", get_pointerCurrentRaycast, set_pointerCurrentRaycast); L.RegVar("pointerPressRaycast", get_pointerPressRaycast, set_pointerPressRaycast); L.RegVar("eligibleForClick", get_eligibleForClick, set_eligibleForClick); L.RegVar("pointerId", get_pointerId, set_pointerId); L.RegVar("position", get_position, set_position); L.RegVar("delta", get_delta, set_delta); L.RegVar("pressPosition", get_pressPosition, set_pressPosition); L.RegVar("clickTime", get_clickTime, set_clickTime); L.RegVar("clickCount", get_clickCount, set_clickCount); L.RegVar("scrollDelta", get_scrollDelta, set_scrollDelta); L.RegVar("useDragThreshold", get_useDragThreshold, set_useDragThreshold); L.RegVar("dragging", get_dragging, set_dragging); L.RegVar("button", get_button, set_button); L.RegVar("enterEventCamera", get_enterEventCamera, null); L.RegVar("pressEventCamera", get_pressEventCamera, null); L.RegVar("pointerPress", get_pointerPress, set_pointerPress); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.RenderTexture), typeof(UnityEngine.Texture)); L.RegFunction("GetTemporary", GetTemporary); L.RegFunction("ReleaseTemporary", ReleaseTemporary); L.RegFunction("Create", Create); L.RegFunction("Release", Release); L.RegFunction("IsCreated", IsCreated); L.RegFunction("DiscardContents", DiscardContents); L.RegFunction("MarkRestoreExpected", MarkRestoreExpected); L.RegFunction("GenerateMips", GenerateMips); L.RegFunction("GetNativeDepthBufferPtr", GetNativeDepthBufferPtr); L.RegFunction("SetGlobalShaderProperty", SetGlobalShaderProperty); L.RegFunction("SupportsStencil", SupportsStencil); L.RegFunction("New", _CreateUnityEngine_RenderTexture); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("width", get_width, set_width); L.RegVar("height", get_height, set_height); L.RegVar("depth", get_depth, set_depth); L.RegVar("isPowerOfTwo", get_isPowerOfTwo, set_isPowerOfTwo); L.RegVar("sRGB", get_sRGB, null); L.RegVar("format", get_format, set_format); L.RegVar("useMipMap", get_useMipMap, set_useMipMap); L.RegVar("autoGenerateMips", get_autoGenerateMips, set_autoGenerateMips); L.RegVar("dimension", get_dimension, set_dimension); L.RegVar("volumeDepth", get_volumeDepth, set_volumeDepth); L.RegVar("antiAliasing", get_antiAliasing, set_antiAliasing); L.RegVar("enableRandomWrite", get_enableRandomWrite, set_enableRandomWrite); L.RegVar("colorBuffer", get_colorBuffer, null); L.RegVar("depthBuffer", get_depthBuffer, null); L.RegVar("active", get_active, set_active); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.ParticleEmitter), typeof(UnityEngine.Component)); L.RegFunction("ClearParticles", ClearParticles); L.RegFunction("Emit", Emit); L.RegFunction("Simulate", Simulate); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("emit", get_emit, set_emit); L.RegVar("minSize", get_minSize, set_minSize); L.RegVar("maxSize", get_maxSize, set_maxSize); L.RegVar("minEnergy", get_minEnergy, set_minEnergy); L.RegVar("maxEnergy", get_maxEnergy, set_maxEnergy); L.RegVar("minEmission", get_minEmission, set_minEmission); L.RegVar("maxEmission", get_maxEmission, set_maxEmission); L.RegVar("emitterVelocityScale", get_emitterVelocityScale, set_emitterVelocityScale); L.RegVar("worldVelocity", get_worldVelocity, set_worldVelocity); L.RegVar("localVelocity", get_localVelocity, set_localVelocity); L.RegVar("rndVelocity", get_rndVelocity, set_rndVelocity); L.RegVar("useWorldSpace", get_useWorldSpace, set_useWorldSpace); L.RegVar("rndRotation", get_rndRotation, set_rndRotation); L.RegVar("angularVelocity", get_angularVelocity, set_angularVelocity); L.RegVar("rndAngularVelocity", get_rndAngularVelocity, set_rndAngularVelocity); L.RegVar("particles", get_particles, set_particles); L.RegVar("particleCount", get_particleCount, null); L.RegVar("enabled", get_enabled, set_enabled); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(LuaFramework.Util), typeof(System.Object)); L.RegFunction("Int", Int); L.RegFunction("Float", Float); L.RegFunction("Long", Long); L.RegFunction("Random", Random); L.RegFunction("Uid", Uid); L.RegFunction("GetTime", GetTime); L.RegFunction("Child", Child); L.RegFunction("Peer", Peer); L.RegFunction("md5", md5); L.RegFunction("md5file", md5file); L.RegFunction("ClearChild", ClearChild); L.RegFunction("ClearMemory", ClearMemory); L.RegFunction("GetRelativePath", GetRelativePath); L.RegFunction("GetFileText", GetFileText); L.RegFunction("AppContentPath", AppContentPath); L.RegFunction("Log", Log); L.RegFunction("LogWarning", LogWarning); L.RegFunction("LogError", LogError); L.RegFunction("CheckRuntimeFile", CheckRuntimeFile); L.RegFunction("CallMethod", CallMethod); L.RegFunction("CheckEnvironment", CheckEnvironment); L.RegFunction("New", _CreateLuaFramework_Util); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("DataPath", get_DataPath, null); L.RegVar("NetAvailable", get_NetAvailable, null); L.RegVar("IsWifi", get_IsWifi, null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.GameObject), typeof(UnityEngine.Object)); L.RegFunction("CreatePrimitive", CreatePrimitive); L.RegFunction("GetComponent", GetComponent); L.RegFunction("GetComponentInChildren", GetComponentInChildren); L.RegFunction("GetComponentInParent", GetComponentInParent); L.RegFunction("GetComponents", GetComponents); L.RegFunction("GetComponentsInChildren", GetComponentsInChildren); L.RegFunction("GetComponentsInParent", GetComponentsInParent); L.RegFunction("SetActive", SetActive); L.RegFunction("CompareTag", CompareTag); L.RegFunction("FindGameObjectWithTag", FindGameObjectWithTag); L.RegFunction("FindWithTag", FindWithTag); L.RegFunction("FindGameObjectsWithTag", FindGameObjectsWithTag); L.RegFunction("SendMessageUpwards", SendMessageUpwards); L.RegFunction("BroadcastMessage", BroadcastMessage); L.RegFunction("AddComponent", AddComponent); L.RegFunction("Find", Find); L.RegFunction("SendMessage", SendMessage); L.RegFunction("New", _CreateUnityEngine_GameObject); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("transform", get_transform, null); L.RegVar("layer", get_layer, set_layer); L.RegVar("activeSelf", get_activeSelf, null); L.RegVar("activeInHierarchy", get_activeInHierarchy, null); L.RegVar("isStatic", get_isStatic, set_isStatic); L.RegVar("tag", get_tag, set_tag); L.RegVar("gameObject", get_gameObject, null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.Texture2D), typeof(UnityEngine.Texture)); L.RegFunction("CreateExternalTexture", CreateExternalTexture); L.RegFunction("UpdateExternalTexture", UpdateExternalTexture); L.RegFunction("SetPixel", SetPixel); L.RegFunction("GetPixel", GetPixel); L.RegFunction("GetPixelBilinear", GetPixelBilinear); L.RegFunction("SetPixels", SetPixels); L.RegFunction("SetPixels32", SetPixels32); L.RegFunction("LoadImage", LoadImage); L.RegFunction("LoadRawTextureData", LoadRawTextureData); L.RegFunction("GetRawTextureData", GetRawTextureData); L.RegFunction("GetPixels", GetPixels); L.RegFunction("GetPixels32", GetPixels32); L.RegFunction("Apply", Apply); L.RegFunction("Resize", Resize); L.RegFunction("Compress", Compress); L.RegFunction("PackTextures", PackTextures); L.RegFunction("ReadPixels", ReadPixels); L.RegFunction("EncodeToPNG", EncodeToPNG); L.RegFunction("EncodeToJPG", EncodeToJPG); L.RegFunction("New", _CreateUnityEngine_Texture2D); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", Lua_ToString); L.RegVar("mipmapCount", get_mipmapCount, null); L.RegVar("format", get_format, null); L.RegVar("whiteTexture", get_whiteTexture, null); L.RegVar("blackTexture", get_blackTexture, null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.UI.Image), typeof(UnityEngine.UI.MaskableGraphic)); L.RegFunction("OnBeforeSerialize", OnBeforeSerialize); L.RegFunction("OnAfterDeserialize", OnAfterDeserialize); L.RegFunction("SetNativeSize", SetNativeSize); L.RegFunction("CalculateLayoutInputHorizontal", CalculateLayoutInputHorizontal); L.RegFunction("CalculateLayoutInputVertical", CalculateLayoutInputVertical); L.RegFunction("IsRaycastLocationValid", IsRaycastLocationValid); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("sprite", get_sprite, set_sprite); L.RegVar("overrideSprite", get_overrideSprite, set_overrideSprite); L.RegVar("type", get_type, set_type); L.RegVar("preserveAspect", get_preserveAspect, set_preserveAspect); L.RegVar("fillCenter", get_fillCenter, set_fillCenter); L.RegVar("fillMethod", get_fillMethod, set_fillMethod); L.RegVar("fillAmount", get_fillAmount, set_fillAmount); L.RegVar("fillClockwise", get_fillClockwise, set_fillClockwise); L.RegVar("fillOrigin", get_fillOrigin, set_fillOrigin); L.RegVar("alphaHitTestMinimumThreshold", get_alphaHitTestMinimumThreshold, set_alphaHitTestMinimumThreshold); L.RegVar("defaultETC1GraphicMaterial", get_defaultETC1GraphicMaterial, null); L.RegVar("mainTexture", get_mainTexture, null); L.RegVar("hasBorder", get_hasBorder, null); L.RegVar("pixelsPerUnit", get_pixelsPerUnit, null); L.RegVar("material", get_material, set_material); L.RegVar("minWidth", get_minWidth, null); L.RegVar("preferredWidth", get_preferredWidth, null); L.RegVar("flexibleWidth", get_flexibleWidth, null); L.RegVar("minHeight", get_minHeight, null); L.RegVar("preferredHeight", get_preferredHeight, null); L.RegVar("flexibleHeight", get_flexibleHeight, null); L.RegVar("layoutPriority", get_layoutPriority, null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.Rect), null); L.RegFunction("MinMaxRect", MinMaxRect); L.RegFunction("Set", Set); L.RegFunction("ToString", ToString); L.RegFunction("Contains", Contains); L.RegFunction("Overlaps", Overlaps); L.RegFunction("NormalizedToPoint", NormalizedToPoint); L.RegFunction("PointToNormalized", PointToNormalized); L.RegFunction("GetHashCode", GetHashCode); L.RegFunction("Equals", Equals); L.RegFunction("New", _CreateUnityEngine_Rect); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("x", get_x, set_x); L.RegVar("y", get_y, set_y); L.RegVar("position", get_position, set_position); L.RegVar("center", get_center, set_center); L.RegVar("min", get_min, set_min); L.RegVar("max", get_max, set_max); L.RegVar("width", get_width, set_width); L.RegVar("height", get_height, set_height); L.RegVar("size", get_size, set_size); L.RegVar("xMin", get_xMin, set_xMin); L.RegVar("yMin", get_yMin, set_yMin); L.RegVar("xMax", get_xMax, set_xMax); L.RegVar("yMax", get_yMax, set_yMax); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.UI.Toggle.ToggleEvent), typeof(UnityEngine.Events.UnityEvent<bool>)); L.RegFunction("New", _CreateUnityEngine_UI_Toggle_ToggleEvent); L.RegFunction("__tostring", ToLua.op_ToString); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.UI.Dropdown.DropdownEvent), typeof(UnityEngine.Events.UnityEvent<int>)); L.RegFunction("New", _CreateUnityEngine_UI_Dropdown_DropdownEvent); L.RegFunction("__tostring", ToLua.op_ToString); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.Renderer), typeof(UnityEngine.Component)); L.RegFunction("SetPropertyBlock", SetPropertyBlock); L.RegFunction("GetPropertyBlock", GetPropertyBlock); L.RegFunction("GetClosestReflectionProbes", GetClosestReflectionProbes); L.RegFunction("New", _CreateUnityEngine_Renderer); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("isPartOfStaticBatch", get_isPartOfStaticBatch, null); L.RegVar("worldToLocalMatrix", get_worldToLocalMatrix, null); L.RegVar("localToWorldMatrix", get_localToWorldMatrix, null); L.RegVar("enabled", get_enabled, set_enabled); L.RegVar("shadowCastingMode", get_shadowCastingMode, set_shadowCastingMode); L.RegVar("receiveShadows", get_receiveShadows, set_receiveShadows); L.RegVar("material", get_material, set_material); L.RegVar("sharedMaterial", get_sharedMaterial, set_sharedMaterial); L.RegVar("materials", get_materials, set_materials); L.RegVar("sharedMaterials", get_sharedMaterials, set_sharedMaterials); L.RegVar("bounds", get_bounds, null); L.RegVar("lightmapIndex", get_lightmapIndex, set_lightmapIndex); L.RegVar("realtimeLightmapIndex", get_realtimeLightmapIndex, set_realtimeLightmapIndex); L.RegVar("lightmapScaleOffset", get_lightmapScaleOffset, set_lightmapScaleOffset); L.RegVar("motionVectorGenerationMode", get_motionVectorGenerationMode, set_motionVectorGenerationMode); L.RegVar("realtimeLightmapScaleOffset", get_realtimeLightmapScaleOffset, set_realtimeLightmapScaleOffset); L.RegVar("isVisible", get_isVisible, null); L.RegVar("lightProbeUsage", get_lightProbeUsage, set_lightProbeUsage); L.RegVar("lightProbeProxyVolumeOverride", get_lightProbeProxyVolumeOverride, set_lightProbeProxyVolumeOverride); L.RegVar("probeAnchor", get_probeAnchor, set_probeAnchor); L.RegVar("reflectionProbeUsage", get_reflectionProbeUsage, set_reflectionProbeUsage); L.RegVar("sortingLayerName", get_sortingLayerName, set_sortingLayerName); L.RegVar("sortingLayerID", get_sortingLayerID, set_sortingLayerID); L.RegVar("sortingOrder", get_sortingOrder, set_sortingOrder); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.UI.Selectable), typeof(UnityEngine.EventSystems.UIBehaviour)); L.RegFunction("IsInteractable", IsInteractable); L.RegFunction("FindSelectable", FindSelectable); L.RegFunction("FindSelectableOnLeft", FindSelectableOnLeft); L.RegFunction("FindSelectableOnRight", FindSelectableOnRight); L.RegFunction("FindSelectableOnUp", FindSelectableOnUp); L.RegFunction("FindSelectableOnDown", FindSelectableOnDown); L.RegFunction("OnMove", OnMove); L.RegFunction("OnPointerDown", OnPointerDown); L.RegFunction("OnPointerUp", OnPointerUp); L.RegFunction("OnPointerEnter", OnPointerEnter); L.RegFunction("OnPointerExit", OnPointerExit); L.RegFunction("OnSelect", OnSelect); L.RegFunction("OnDeselect", OnDeselect); L.RegFunction("Select", Select); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("allSelectables", get_allSelectables, null); L.RegVar("navigation", get_navigation, set_navigation); L.RegVar("transition", get_transition, set_transition); L.RegVar("colors", get_colors, set_colors); L.RegVar("spriteState", get_spriteState, set_spriteState); L.RegVar("animationTriggers", get_animationTriggers, set_animationTriggers); L.RegVar("targetGraphic", get_targetGraphic, set_targetGraphic); L.RegVar("interactable", get_interactable, set_interactable); L.RegVar("image", get_image, set_image); L.RegVar("animator", get_animator, null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.Canvas), typeof(UnityEngine.Behaviour)); L.RegFunction("GetDefaultCanvasMaterial", GetDefaultCanvasMaterial); L.RegFunction("ForceUpdateCanvases", ForceUpdateCanvases); L.RegFunction("New", _CreateUnityEngine_Canvas); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("renderMode", get_renderMode, set_renderMode); L.RegVar("isRootCanvas", get_isRootCanvas, null); L.RegVar("worldCamera", get_worldCamera, set_worldCamera); L.RegVar("pixelRect", get_pixelRect, null); L.RegVar("scaleFactor", get_scaleFactor, set_scaleFactor); L.RegVar("referencePixelsPerUnit", get_referencePixelsPerUnit, set_referencePixelsPerUnit); L.RegVar("overridePixelPerfect", get_overridePixelPerfect, set_overridePixelPerfect); L.RegVar("pixelPerfect", get_pixelPerfect, set_pixelPerfect); L.RegVar("planeDistance", get_planeDistance, set_planeDistance); L.RegVar("renderOrder", get_renderOrder, null); L.RegVar("overrideSorting", get_overrideSorting, set_overrideSorting); L.RegVar("sortingOrder", get_sortingOrder, set_sortingOrder); L.RegVar("targetDisplay", get_targetDisplay, set_targetDisplay); L.RegVar("sortingGridNormalizedSize", get_sortingGridNormalizedSize, set_sortingGridNormalizedSize); L.RegVar("sortingLayerID", get_sortingLayerID, set_sortingLayerID); L.RegVar("cachedSortingLayerValue", get_cachedSortingLayerValue, null); L.RegVar("sortingLayerName", get_sortingLayerName, set_sortingLayerName); L.RegVar("willRenderCanvases", get_willRenderCanvases, set_willRenderCanvases); L.RegFunction("WillRenderCanvases", UnityEngine_Canvas_WillRenderCanvases); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(TestExport), typeof(System.Object)); L.RegFunction("get_Item", get_Item); L.RegFunction("set_Item", set_Item); L.RegFunction("TestByteBuffer", TestByteBuffer); L.RegFunction("Test", Test); L.RegFunction("TestChar", TestChar); L.RegFunction("Test33", Test33); L.RegFunction("TestGeneric", TestGeneric); L.RegFunction("TestEnum", TestEnum); L.RegFunction("TestCheckParamNumber", TestCheckParamNumber); L.RegFunction("TestCheckParamString", TestCheckParamString); L.RegFunction("TestReflection", TestReflection); L.RegFunction("TestRefGameObject", TestRefGameObject); L.RegFunction("DoClick", DoClick); L.RegFunction("New", _CreateTestExport); L.RegVar("this", _this, null); L.RegFunction("__tostring", Lua_ToString); L.RegVar("field", get_field, set_field); L.RegVar("OnClick", get_OnClick, set_OnClick); L.RegVar("OnRefEvent", get_OnRefEvent, set_OnRefEvent); L.RegVar("buffer", get_buffer, set_buffer); L.RegVar("Number", get_Number, set_Number); L.RegFunction("TestBuffer", TestExport_TestBuffer); L.RegFunction("TestRefEvent", TestExport_TestRefEvent); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(Manager), typeof(Base)); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", Lua_ToString); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.UI.Scrollbar), typeof(UnityEngine.UI.Selectable)); L.RegFunction("Rebuild", Rebuild); L.RegFunction("LayoutComplete", LayoutComplete); L.RegFunction("GraphicUpdateComplete", GraphicUpdateComplete); L.RegFunction("OnBeginDrag", OnBeginDrag); L.RegFunction("OnDrag", OnDrag); L.RegFunction("OnPointerDown", OnPointerDown); L.RegFunction("OnPointerUp", OnPointerUp); L.RegFunction("OnMove", OnMove); L.RegFunction("FindSelectableOnLeft", FindSelectableOnLeft); L.RegFunction("FindSelectableOnRight", FindSelectableOnRight); L.RegFunction("FindSelectableOnUp", FindSelectableOnUp); L.RegFunction("FindSelectableOnDown", FindSelectableOnDown); L.RegFunction("OnInitializePotentialDrag", OnInitializePotentialDrag); L.RegFunction("SetDirection", SetDirection); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("handleRect", get_handleRect, set_handleRect); L.RegVar("direction", get_direction, set_direction); L.RegVar("value", get_value, set_value); L.RegVar("size", get_size, set_size); L.RegVar("numberOfSteps", get_numberOfSteps, set_numberOfSteps); L.RegVar("onValueChanged", get_onValueChanged, set_onValueChanged); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.Light), typeof(UnityEngine.Behaviour)); L.RegFunction("AddCommandBuffer", AddCommandBuffer); L.RegFunction("RemoveCommandBuffer", RemoveCommandBuffer); L.RegFunction("RemoveCommandBuffers", RemoveCommandBuffers); L.RegFunction("RemoveAllCommandBuffers", RemoveAllCommandBuffers); L.RegFunction("GetCommandBuffers", GetCommandBuffers); L.RegFunction("GetLights", GetLights); L.RegFunction("New", _CreateUnityEngine_Light); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("type", get_type, set_type); L.RegVar("color", get_color, set_color); L.RegVar("intensity", get_intensity, set_intensity); L.RegVar("bounceIntensity", get_bounceIntensity, set_bounceIntensity); L.RegVar("shadows", get_shadows, set_shadows); L.RegVar("shadowStrength", get_shadowStrength, set_shadowStrength); L.RegVar("shadowBias", get_shadowBias, set_shadowBias); L.RegVar("shadowNormalBias", get_shadowNormalBias, set_shadowNormalBias); L.RegVar("shadowNearPlane", get_shadowNearPlane, set_shadowNearPlane); L.RegVar("range", get_range, set_range); L.RegVar("spotAngle", get_spotAngle, set_spotAngle); L.RegVar("cookieSize", get_cookieSize, set_cookieSize); L.RegVar("cookie", get_cookie, set_cookie); L.RegVar("flare", get_flare, set_flare); L.RegVar("renderMode", get_renderMode, set_renderMode); L.RegVar("alreadyLightmapped", get_alreadyLightmapped, set_alreadyLightmapped); L.RegVar("cullingMask", get_cullingMask, set_cullingMask); L.RegVar("commandBufferCount", get_commandBufferCount, null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(Util), typeof(System.Object)); L.RegFunction("Int", Int); L.RegFunction("Float", Float); L.RegFunction("Long", Long); L.RegFunction("Random", Random); L.RegFunction("Uid", Uid); L.RegFunction("GetTime", GetTime); L.RegFunction("Child", Child); L.RegFunction("Peer", Peer); L.RegFunction("md5", md5); L.RegFunction("md5file", md5file); L.RegFunction("ClearChild", ClearChild); L.RegFunction("ClearMemory", ClearMemory); L.RegFunction("AppContentPath", AppContentPath); L.RegFunction("AddClick", AddClick); L.RegFunction("Log", Log); L.RegFunction("LogWarning", LogWarning); L.RegFunction("LogError", LogError); L.RegFunction("LoadAsset", LoadAsset); L.RegFunction("AddComponent", AddComponent); L.RegFunction("LoadPrefab", LoadPrefab); L.RegFunction("CallMethod", CallMethod); L.RegFunction("CheckEnvironment", CheckEnvironment); L.RegFunction("New", _CreateUtil); L.RegFunction("__tostring", Lua_ToString); L.RegVar("DataPath", get_DataPath, null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UIGrid), typeof(UIWidgetContainer)); L.RegFunction("GetChildList", GetChildList); L.RegFunction("GetChild", GetChild); L.RegFunction("GetIndex", GetIndex); L.RegFunction("AddChild", AddChild); L.RegFunction("RemoveChild", RemoveChild); L.RegFunction("SortByName", SortByName); L.RegFunction("SortHorizontal", SortHorizontal); L.RegFunction("SortVertical", SortVertical); L.RegFunction("Reposition", Reposition); L.RegFunction("ConstrainWithinPanel", ConstrainWithinPanel); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", Lua_ToString); L.RegVar("arrangement", get_arrangement, set_arrangement); L.RegVar("sorting", get_sorting, set_sorting); L.RegVar("pivot", get_pivot, set_pivot); L.RegVar("maxPerLine", get_maxPerLine, set_maxPerLine); L.RegVar("cellWidth", get_cellWidth, set_cellWidth); L.RegVar("cellHeight", get_cellHeight, set_cellHeight); L.RegVar("animateSmoothly", get_animateSmoothly, set_animateSmoothly); L.RegVar("hideInactive", get_hideInactive, set_hideInactive); L.RegVar("keepWithinPanel", get_keepWithinPanel, set_keepWithinPanel); L.RegVar("onReposition", get_onReposition, set_onReposition); L.RegVar("onCustomSort", get_onCustomSort, set_onCustomSort); L.RegVar("repositionNow", null, set_repositionNow); L.RegFunction("OnReposition", UIGrid_OnReposition); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UIWidgetContainer), typeof(UnityEngine.MonoBehaviour)); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", Lua_ToString); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(System.Collections.Generic.Dictionary<int,TestAccount>), typeof(System.Object), "AccountMap"); L.RegFunction(".geti", get_Item); L.RegFunction("get_Item", get_Item); L.RegFunction(".seti", set_Item); L.RegFunction("set_Item", set_Item); L.RegFunction("Add", Add); L.RegFunction("Clear", Clear); L.RegFunction("ContainsKey", ContainsKey); L.RegFunction("ContainsValue", ContainsValue); L.RegFunction("GetObjectData", GetObjectData); L.RegFunction("OnDeserialization", OnDeserialization); L.RegFunction("Remove", Remove); L.RegFunction("TryGetValue", TryGetValue); L.RegFunction("GetEnumerator", GetEnumerator); L.RegFunction("New", _CreateSystem_Collections_Generic_Dictionary_int_TestAccount); L.RegVar("this", _this, null); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("Count", get_Count, null); L.RegVar("Comparer", get_Comparer, null); L.RegVar("Keys", get_Keys, null); L.RegVar("Values", get_Values, null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(ByteBuffer), typeof(System.Object)); L.RegFunction("Close", Close); L.RegFunction("WriteByte", WriteByte); L.RegFunction("WriteInt", WriteInt); L.RegFunction("WriteShort", WriteShort); L.RegFunction("WriteLong", WriteLong); L.RegFunction("WriteFloat", WriteFloat); L.RegFunction("WriteDouble", WriteDouble); L.RegFunction("WriteString", WriteString); L.RegFunction("WriteBytes", WriteBytes); L.RegFunction("WriteBuffer", WriteBuffer); L.RegFunction("ReadByte", ReadByte); L.RegFunction("ReadInt", ReadInt); L.RegFunction("ReadShort", ReadShort); L.RegFunction("ReadLong", ReadLong); L.RegFunction("ReadFloat", ReadFloat); L.RegFunction("ReadDouble", ReadDouble); L.RegFunction("ReadString", ReadString); L.RegFunction("ReadBytes", ReadBytes); L.RegFunction("ReadBuffer", ReadBuffer); L.RegFunction("ToBytes", ToBytes); L.RegFunction("Flush", Flush); L.RegFunction("New", _CreateByteBuffer); L.RegFunction("__tostring", ToLua.op_ToString); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.UI.LoopVerticalScrollRect), typeof(UnityEngine.UI.LoopScrollRect)); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.WWW), typeof(System.Object)); L.RegFunction("Dispose", Dispose); L.RegFunction("InitWWW", InitWWW); L.RegFunction("EscapeURL", EscapeURL); L.RegFunction("UnEscapeURL", UnEscapeURL); L.RegFunction("GetAudioClip", GetAudioClip); L.RegFunction("GetAudioClipCompressed", GetAudioClipCompressed); L.RegFunction("LoadImageIntoTexture", LoadImageIntoTexture); L.RegFunction("LoadFromCacheOrDownload", LoadFromCacheOrDownload); L.RegFunction("New", _CreateUnityEngine_WWW); L.RegFunction("__tostring", Lua_ToString); L.RegVar("responseHeaders", get_responseHeaders, null); L.RegVar("text", get_text, null); L.RegVar("bytes", get_bytes, null); L.RegVar("size", get_size, null); L.RegVar("error", get_error, null); L.RegVar("texture", get_texture, null); L.RegVar("textureNonReadable", get_textureNonReadable, null); L.RegVar("audioClip", get_audioClip, null); L.RegVar("isDone", get_isDone, null); L.RegVar("progress", get_progress, null); L.RegVar("uploadProgress", get_uploadProgress, null); L.RegVar("bytesDownloaded", get_bytesDownloaded, null); L.RegVar("url", get_url, null); L.RegVar("assetBundle", get_assetBundle, null); L.RegVar("threadPriority", get_threadPriority, set_threadPriority); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.UI.Slider.SliderEvent), typeof(UnityEngine.Events.UnityEvent<float>)); L.RegFunction("New", _CreateUnityEngine_UI_Slider_SliderEvent); L.RegFunction("__tostring", ToLua.op_ToString); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.Animation), typeof(UnityEngine.Behaviour)); L.RegFunction("Stop", Stop); L.RegFunction("Rewind", Rewind); L.RegFunction("Sample", Sample); L.RegFunction("IsPlaying", IsPlaying); L.RegFunction("get_Item", get_Item); L.RegFunction("Play", Play); L.RegFunction("CrossFade", CrossFade); L.RegFunction("Blend", Blend); L.RegFunction("CrossFadeQueued", CrossFadeQueued); L.RegFunction("PlayQueued", PlayQueued); L.RegFunction("AddClip", AddClip); L.RegFunction("RemoveClip", RemoveClip); L.RegFunction("GetClipCount", GetClipCount); L.RegFunction("SyncLayer", SyncLayer); L.RegFunction("GetEnumerator", GetEnumerator); L.RegFunction("GetClip", GetClip); L.RegFunction("New", _CreateUnityEngine_Animation); L.RegVar("this", _this, null); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", Lua_ToString); L.RegVar("clip", get_clip, set_clip); L.RegVar("playAutomatically", get_playAutomatically, set_playAutomatically); L.RegVar("wrapMode", get_wrapMode, set_wrapMode); L.RegVar("isPlaying", get_isPlaying, null); L.RegVar("animatePhysics", get_animatePhysics, set_animatePhysics); L.RegVar("cullingType", get_cullingType, set_cullingType); L.RegVar("localBounds", get_localBounds, set_localBounds); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.Texture), typeof(UnityEngine.Object)); L.RegFunction("IncrementUpdateCount", IncrementUpdateCount); L.RegFunction("SetGlobalAnisotropicFilteringLimits", SetGlobalAnisotropicFilteringLimits); L.RegFunction("GetNativeTexturePtr", GetNativeTexturePtr); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("updateCount", get_updateCount, null); L.RegVar("masterTextureLimit", get_masterTextureLimit, set_masterTextureLimit); L.RegVar("anisotropicFiltering", get_anisotropicFiltering, set_anisotropicFiltering); L.RegVar("width", get_width, set_width); L.RegVar("height", get_height, set_height); L.RegVar("dimension", get_dimension, set_dimension); L.RegVar("wrapMode", get_wrapMode, set_wrapMode); L.RegVar("wrapModeU", get_wrapModeU, set_wrapModeU); L.RegVar("wrapModeV", get_wrapModeV, set_wrapModeV); L.RegVar("wrapModeW", get_wrapModeW, set_wrapModeW); L.RegVar("filterMode", get_filterMode, set_filterMode); L.RegVar("anisoLevel", get_anisoLevel, set_anisoLevel); L.RegVar("mipMapBias", get_mipMapBias, set_mipMapBias); L.RegVar("texelSize", get_texelSize, null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(Spine.TrackEntry), typeof(System.Object)); L.RegFunction("Reset", Reset); L.RegFunction("ResetRotationDirections", ResetRotationDirections); L.RegFunction("ToString", ToString); L.RegFunction("New", _CreateSpine_TrackEntry); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("TrackIndex", get_TrackIndex, null); L.RegVar("Animation", get_Animation, null); L.RegVar("Loop", get_Loop, set_Loop); L.RegVar("Delay", get_Delay, set_Delay); L.RegVar("TrackTime", get_TrackTime, set_TrackTime); L.RegVar("TrackEnd", get_TrackEnd, set_TrackEnd); L.RegVar("AnimationStart", get_AnimationStart, set_AnimationStart); L.RegVar("AnimationEnd", get_AnimationEnd, set_AnimationEnd); L.RegVar("AnimationLast", get_AnimationLast, set_AnimationLast); L.RegVar("AnimationTime", get_AnimationTime, null); L.RegVar("TimeScale", get_TimeScale, set_TimeScale); L.RegVar("Alpha", get_Alpha, set_Alpha); L.RegVar("EventThreshold", get_EventThreshold, set_EventThreshold); L.RegVar("AttachmentThreshold", get_AttachmentThreshold, set_AttachmentThreshold); L.RegVar("DrawOrderThreshold", get_DrawOrderThreshold, set_DrawOrderThreshold); L.RegVar("Next", get_Next, null); L.RegVar("IsComplete", get_IsComplete, null); L.RegVar("MixTime", get_MixTime, set_MixTime); L.RegVar("MixDuration", get_MixDuration, set_MixDuration); L.RegVar("MixingFrom", get_MixingFrom, null); L.RegVar("Start", get_Start, set_Start); L.RegVar("Interrupt", get_Interrupt, set_Interrupt); L.RegVar("End", get_End, set_End); L.RegVar("Dispose", get_Dispose, set_Dispose); L.RegVar("Complete", get_Complete, set_Complete); L.RegVar("Event", get_Event, set_Event); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.UI.Text), typeof(UnityEngine.UI.MaskableGraphic)); L.RegFunction("FontTextureChanged", FontTextureChanged); L.RegFunction("GetGenerationSettings", GetGenerationSettings); L.RegFunction("GetTextAnchorPivot", GetTextAnchorPivot); L.RegFunction("CalculateLayoutInputHorizontal", CalculateLayoutInputHorizontal); L.RegFunction("CalculateLayoutInputVertical", CalculateLayoutInputVertical); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", Lua_ToString); L.RegVar("cachedTextGenerator", get_cachedTextGenerator, null); L.RegVar("cachedTextGeneratorForLayout", get_cachedTextGeneratorForLayout, null); L.RegVar("mainTexture", get_mainTexture, null); L.RegVar("font", get_font, set_font); L.RegVar("text", get_text, set_text); L.RegVar("supportRichText", get_supportRichText, set_supportRichText); L.RegVar("resizeTextForBestFit", get_resizeTextForBestFit, set_resizeTextForBestFit); L.RegVar("resizeTextMinSize", get_resizeTextMinSize, set_resizeTextMinSize); L.RegVar("resizeTextMaxSize", get_resizeTextMaxSize, set_resizeTextMaxSize); L.RegVar("alignment", get_alignment, set_alignment); L.RegVar("alignByGeometry", get_alignByGeometry, set_alignByGeometry); L.RegVar("fontSize", get_fontSize, set_fontSize); L.RegVar("horizontalOverflow", get_horizontalOverflow, set_horizontalOverflow); L.RegVar("verticalOverflow", get_verticalOverflow, set_verticalOverflow); L.RegVar("lineSpacing", get_lineSpacing, set_lineSpacing); L.RegVar("fontStyle", get_fontStyle, set_fontStyle); L.RegVar("pixelsPerUnit", get_pixelsPerUnit, null); L.RegVar("minWidth", get_minWidth, null); L.RegVar("preferredWidth", get_preferredWidth, null); L.RegVar("flexibleWidth", get_flexibleWidth, null); L.RegVar("minHeight", get_minHeight, null); L.RegVar("preferredHeight", get_preferredHeight, null); L.RegVar("flexibleHeight", get_flexibleHeight, null); L.RegVar("layoutPriority", get_layoutPriority, null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(DG.Tweening.Sequence), typeof(DG.Tweening.Tween)); L.RegFunction("SetSpeedBased", SetSpeedBased); L.RegFunction("SetRelative", SetRelative); L.RegFunction("SetDelay", SetDelay); L.RegFunction("InsertCallback", InsertCallback); L.RegFunction("PrependCallback", PrependCallback); L.RegFunction("AppendCallback", AppendCallback); L.RegFunction("PrependInterval", PrependInterval); L.RegFunction("AppendInterval", AppendInterval); L.RegFunction("Insert", Insert); L.RegFunction("Join", Join); L.RegFunction("Prepend", Prepend); L.RegFunction("Append", Append); L.RegFunction("SetAs", SetAs); L.RegFunction("OnWaypointChange", OnWaypointChange); L.RegFunction("OnKill", OnKill); L.RegFunction("OnComplete", OnComplete); L.RegFunction("OnStepComplete", OnStepComplete); L.RegFunction("OnUpdate", OnUpdate); L.RegFunction("OnRewind", OnRewind); L.RegFunction("OnPause", OnPause); L.RegFunction("OnPlay", OnPlay); L.RegFunction("OnStart", OnStart); L.RegFunction("SetUpdate", SetUpdate); L.RegFunction("SetRecyclable", SetRecyclable); L.RegFunction("SetEase", SetEase); L.RegFunction("SetLoops", SetLoops); L.RegFunction("SetTarget", SetTarget); L.RegFunction("SetLink", SetLink); L.RegFunction("SetId", SetId); L.RegFunction("SetAutoKill", SetAutoKill); L.RegFunction("__tostring", ToLua.op_ToString); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(LuaFramework.AppConst), typeof(System.Object)); L.RegFunction("New", _CreateLuaFramework_AppConst); L.RegFunction("__tostring", ToLua.op_ToString); L.RegConstant("DebugMode", 0); L.RegConstant("ExampleMode", 1); L.RegConstant("UpdateMode", 0); L.RegConstant("LuaByteMode", 0); L.RegConstant("LuaBundleMode", 0); L.RegConstant("TimerInterval", 1); L.RegConstant("GameFrameRate", 30); L.RegVar("AppName", get_AppName, null); L.RegVar("LuaTempDir", get_LuaTempDir, null); L.RegVar("AppPrefix", get_AppPrefix, null); L.RegVar("ExtName", get_ExtName, null); L.RegVar("AssetDir", get_AssetDir, null); L.RegVar("WebUrl", get_WebUrl, null); L.RegVar("UserId", get_UserId, set_UserId); L.RegVar("SocketPort", get_SocketPort, set_SocketPort); L.RegVar("SocketAddress", get_SocketAddress, set_SocketAddress); L.RegVar("FrameworkRoot", get_FrameworkRoot, null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(Game), typeof(System.Object)); L.RegFunction("OnInit", OnInit); L.RegFunction("InitGameBase", InitGameBase); L.RegFunction("ConnectToServer", ConnectToServer); L.RegFunction("InitGameAssets", InitGameAssets); L.RegFunction("OnUpdate", OnUpdate); L.RegFunction("OnReset", OnReset); L.RegFunction("OnLog", OnLog); L.RegFunction("StartCoroutine", StartCoroutine); L.RegFunction("New", _CreateGame); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("initState", get_initState, set_initState); L.RegVar("ServerIp", get_ServerIp, set_ServerIp); L.RegVar("ServerPort", get_ServerPort, set_ServerPort); L.RegVar("ServerPortTest", get_ServerPortTest, set_ServerPortTest); L.RegVar("tableManager", get_tableManager, null); L.RegVar("SceneManager", get_SceneManager, null); L.RegVar("LuaManager", get_LuaManager, null); L.RegVar("UIManager", get_UIManager, set_UIManager); L.RegVar("gameObjectRoot", get_gameObjectRoot, null); L.EndClass(); }
public static void QPYX_Register_YXQP(LuaState L_YXQP) { L_YXQP.BeginClass(typeof(GameAsset.LoadedAssetBundle), typeof(System.Object)); L_YXQP.RegFunction("IsLoadedAll", QPYX_IsLoadedAll_YXQP); L_YXQP.RegFunction("LoadAllAssets", QPYX_LoadAllAssets_YXQP); L_YXQP.RegFunction("GetAsset", QPYX_GetAsset_YXQP); L_YXQP.RegFunction("Reset", QPYX_Reset_YXQP); L_YXQP.RegFunction("UnloadAssetBundle", QPYX_UnloadAssetBundle_YXQP); L_YXQP.RegFunction("__tostring", ToLua.op_ToString); L_YXQP.RegVar("assetBundleName", QPYX_get_assetBundleName_YXQP, QPYX_set_assetBundleName_YXQP); L_YXQP.RegVar("assetBundle", QPYX_get_assetBundle_YXQP, QPYX_set_assetBundle_YXQP); L_YXQP.RegVar("assetObjects", QPYX_get_assetObjects_YXQP, QPYX_set_assetObjects_YXQP); L_YXQP.RegVar("cacheGameObject", QPYX_get_cacheGameObject_YXQP, QPYX_set_cacheGameObject_YXQP); L_YXQP.RegVar("dependAssetBundles", QPYX_get_dependAssetBundles_YXQP, QPYX_set_dependAssetBundles_YXQP); L_YXQP.RegVar("referencedCount", QPYX_get_referencedCount_YXQP, QPYX_set_referencedCount_YXQP); L_YXQP.RegVar("isLoaded", QPYX_get_isLoaded_YXQP, QPYX_set_isLoaded_YXQP); L_YXQP.RegVar("erroMsg", QPYX_get_erroMsg_YXQP, QPYX_set_erroMsg_YXQP); L_YXQP.RegVar("onLoaded", QPYX_get_onLoaded_YXQP, QPYX_set_onLoaded_YXQP); L_YXQP.RegVar("asyncLoad", QPYX_get_asyncLoad_YXQP, QPYX_set_asyncLoad_YXQP); L_YXQP.RegVar("isAsyncLoading", QPYX_get_isAsyncLoading_YXQP, QPYX_set_isAsyncLoading_YXQP); L_YXQP.RegVar("isStatic", QPYX_get_isStatic_YXQP, QPYX_set_isStatic_YXQP); L_YXQP.RegVar("assetBundleCreateRequest", QPYX_get_assetBundleCreateRequest_YXQP, QPYX_set_assetBundleCreateRequest_YXQP); L_YXQP.RegVar("assetBundleRequest", QPYX_get_assetBundleRequest_YXQP, QPYX_set_assetBundleRequest_YXQP); L_YXQP.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UIRect), typeof(UnityEngine.MonoBehaviour)); L.RegFunction("CalculateFinalAlpha", CalculateFinalAlpha); L.RegFunction("Invalidate", Invalidate); L.RegFunction("GetSides", GetSides); L.RegFunction("Update", Update); L.RegFunction("UpdateAnchors", UpdateAnchors); L.RegFunction("SetAnchor", SetAnchor); L.RegFunction("ResetAnchors", ResetAnchors); L.RegFunction("ResetAndUpdateAnchors", ResetAndUpdateAnchors); L.RegFunction("SetRect", SetRect); L.RegFunction("ParentHasChanged", ParentHasChanged); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", Lua_ToString); L.RegVar("leftAnchor", get_leftAnchor, set_leftAnchor); L.RegVar("rightAnchor", get_rightAnchor, set_rightAnchor); L.RegVar("bottomAnchor", get_bottomAnchor, set_bottomAnchor); L.RegVar("topAnchor", get_topAnchor, set_topAnchor); L.RegVar("updateAnchors", get_updateAnchors, set_updateAnchors); L.RegVar("finalAlpha", get_finalAlpha, set_finalAlpha); L.RegVar("cachedGameObject", get_cachedGameObject, null); L.RegVar("cachedTransform", get_cachedTransform, null); L.RegVar("anchorCamera", get_anchorCamera, null); L.RegVar("isFullyAnchored", get_isFullyAnchored, null); L.RegVar("isAnchoredHorizontally", get_isAnchoredHorizontally, null); L.RegVar("isAnchoredVertically", get_isAnchoredVertically, null); L.RegVar("canBeAnchored", get_canBeAnchored, null); L.RegVar("parent", get_parent, null); L.RegVar("root", get_root, null); L.RegVar("isAnchored", get_isAnchored, null); L.RegVar("alpha", get_alpha, set_alpha); L.RegVar("localCorners", get_localCorners, null); L.RegVar("worldCorners", get_worldCorners, null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(Dictionary <, >), typeof(object), "Dictionary"); L.RegFunction("get_Item", new LuaCSFunction(System_Collections_Generic_DictionaryWrap.get_Item)); L.RegFunction("set_Item", new LuaCSFunction(System_Collections_Generic_DictionaryWrap.set_Item)); L.RegFunction(".geti", new LuaCSFunction(System_Collections_Generic_DictionaryWrap._geti)); L.RegFunction(".seti", new LuaCSFunction(System_Collections_Generic_DictionaryWrap._seti)); L.RegFunction("Add", new LuaCSFunction(System_Collections_Generic_DictionaryWrap.Add)); L.RegFunction("Clear", new LuaCSFunction(System_Collections_Generic_DictionaryWrap.Clear)); L.RegFunction("ContainsKey", new LuaCSFunction(System_Collections_Generic_DictionaryWrap.ContainsKey)); L.RegFunction("ContainsValue", new LuaCSFunction(System_Collections_Generic_DictionaryWrap.ContainsValue)); L.RegFunction("GetObjectData", new LuaCSFunction(System_Collections_Generic_DictionaryWrap.GetObjectData)); L.RegFunction("OnDeserialization", new LuaCSFunction(System_Collections_Generic_DictionaryWrap.OnDeserialization)); L.RegFunction("Remove", new LuaCSFunction(System_Collections_Generic_DictionaryWrap.Remove)); L.RegFunction("TryGetValue", new LuaCSFunction(System_Collections_Generic_DictionaryWrap.TryGetValue)); L.RegFunction("GetEnumerator", new LuaCSFunction(System_Collections_Generic_DictionaryWrap.GetEnumerator)); L.RegVar("this", new LuaCSFunction(System_Collections_Generic_DictionaryWrap._this), null); L.RegFunction("__tostring", new LuaCSFunction(ToLua.op_ToString)); L.RegVar("Count", new LuaCSFunction(System_Collections_Generic_DictionaryWrap.get_Count), null); L.RegVar("Comparer", new LuaCSFunction(System_Collections_Generic_DictionaryWrap.get_Comparer), null); L.RegVar("Keys", new LuaCSFunction(System_Collections_Generic_DictionaryWrap.get_Keys), null); L.RegVar("Values", new LuaCSFunction(System_Collections_Generic_DictionaryWrap.get_Values), null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.SceneManagement.SceneManager), typeof(System.Object)); L.RegFunction("GetActiveScene", GetActiveScene); L.RegFunction("SetActiveScene", SetActiveScene); L.RegFunction("GetSceneByPath", GetSceneByPath); L.RegFunction("GetSceneByName", GetSceneByName); L.RegFunction("GetSceneByBuildIndex", GetSceneByBuildIndex); L.RegFunction("GetSceneAt", GetSceneAt); L.RegFunction("CreateScene", CreateScene); L.RegFunction("MergeScenes", MergeScenes); L.RegFunction("MoveGameObjectToScene", MoveGameObjectToScene); L.RegFunction("LoadScene", LoadScene); L.RegFunction("LoadSceneAsync", LoadSceneAsync); L.RegFunction("UnloadSceneAsync", UnloadSceneAsync); L.RegFunction("New", _CreateUnityEngine_SceneManagement_SceneManager); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("sceneCount", get_sceneCount, null); L.RegVar("sceneCountInBuildSettings", get_sceneCountInBuildSettings, null); L.RegVar("sceneLoaded", get_sceneLoaded, set_sceneLoaded); L.RegVar("sceneUnloaded", get_sceneUnloaded, set_sceneUnloaded); L.RegVar("activeSceneChanged", get_activeSceneChanged, set_activeSceneChanged); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(FairyGUI.UIPanel), typeof(UnityEngine.MonoBehaviour)); L.RegFunction("CreateUI", CreateUI); L.RegFunction("SetSortingOrder", SetSortingOrder); L.RegFunction("SetHitTestMode", SetHitTestMode); L.RegFunction("CacheNativeChildrenRenderers", CacheNativeChildrenRenderers); L.RegFunction("ApplyModifiedProperties", ApplyModifiedProperties); L.RegFunction("MoveUI", MoveUI); L.RegFunction("GetUIWorldPosition", GetUIWorldPosition); L.RegFunction("EM_BeforeUpdate", EM_BeforeUpdate); L.RegFunction("EM_Update", EM_Update); L.RegFunction("EM_Reload", EM_Reload); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("packageName", get_packageName, set_packageName); L.RegVar("componentName", get_componentName, set_componentName); L.RegVar("fitScreen", get_fitScreen, set_fitScreen); L.RegVar("sortingOrder", get_sortingOrder, set_sortingOrder); L.RegVar("container", get_container, null); L.RegVar("ui", get_ui, null); L.RegVar("EM_sortingOrder", get_EM_sortingOrder, null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.AssetBundle), typeof(UnityEngine.Object)); L.RegFunction("LoadFromFileAsync", LoadFromFileAsync); L.RegFunction("LoadFromFile", LoadFromFile); L.RegFunction("LoadFromMemoryAsync", LoadFromMemoryAsync); L.RegFunction("LoadFromMemory", LoadFromMemory); L.RegFunction("Contains", Contains); L.RegFunction("LoadAsset", LoadAsset); L.RegFunction("LoadAssetAsync", LoadAssetAsync); L.RegFunction("LoadAssetWithSubAssets", LoadAssetWithSubAssets); L.RegFunction("LoadAssetWithSubAssetsAsync", LoadAssetWithSubAssetsAsync); L.RegFunction("LoadAllAssets", LoadAllAssets); L.RegFunction("LoadAllAssetsAsync", LoadAllAssetsAsync); L.RegFunction("Unload", Unload); L.RegFunction("GetAllAssetNames", GetAllAssetNames); L.RegFunction("GetAllScenePaths", GetAllScenePaths); L.RegFunction("New", _CreateUnityEngine_AssetBundle); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("mainAsset", get_mainAsset, null); L.RegVar("isStreamedSceneAssetBundle", get_isStreamedSceneAssetBundle, null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.Renderer), typeof(UnityEngine.Component)); L.RegFunction("SetPropertyBlock", SetPropertyBlock); L.RegFunction("GetPropertyBlock", GetPropertyBlock); L.RegFunction("GetClosestReflectionProbes", GetClosestReflectionProbes); L.RegFunction("New", _CreateUnityEngine_Renderer); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("bounds", get_bounds, null); L.RegVar("enabled", get_enabled, set_enabled); L.RegVar("isVisible", get_isVisible, null); L.RegVar("shadowCastingMode", get_shadowCastingMode, set_shadowCastingMode); L.RegVar("receiveShadows", get_receiveShadows, set_receiveShadows); L.RegVar("motionVectorGenerationMode", get_motionVectorGenerationMode, set_motionVectorGenerationMode); L.RegVar("lightProbeUsage", get_lightProbeUsage, set_lightProbeUsage); L.RegVar("reflectionProbeUsage", get_reflectionProbeUsage, set_reflectionProbeUsage); L.RegVar("sortingLayerName", get_sortingLayerName, set_sortingLayerName); L.RegVar("sortingLayerID", get_sortingLayerID, set_sortingLayerID); L.RegVar("sortingOrder", get_sortingOrder, set_sortingOrder); L.RegVar("allowOcclusionWhenDynamic", get_allowOcclusionWhenDynamic, set_allowOcclusionWhenDynamic); L.RegVar("isPartOfStaticBatch", get_isPartOfStaticBatch, null); L.RegVar("worldToLocalMatrix", get_worldToLocalMatrix, null); L.RegVar("localToWorldMatrix", get_localToWorldMatrix, null); L.RegVar("lightProbeProxyVolumeOverride", get_lightProbeProxyVolumeOverride, set_lightProbeProxyVolumeOverride); L.RegVar("probeAnchor", get_probeAnchor, set_probeAnchor); L.RegVar("lightmapIndex", get_lightmapIndex, set_lightmapIndex); L.RegVar("realtimeLightmapIndex", get_realtimeLightmapIndex, set_realtimeLightmapIndex); L.RegVar("lightmapScaleOffset", get_lightmapScaleOffset, set_lightmapScaleOffset); L.RegVar("realtimeLightmapScaleOffset", get_realtimeLightmapScaleOffset, set_realtimeLightmapScaleOffset); L.RegVar("material", get_material, set_material); L.RegVar("sharedMaterial", get_sharedMaterial, set_sharedMaterial); L.RegVar("materials", get_materials, set_materials); L.RegVar("sharedMaterials", get_sharedMaterials, set_sharedMaterials); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(Node), typeof(System.Object)); L.RegFunction("Attach", Attach); L.RegFunction("Detach", Detach); L.RegFunction("AddChild", AddChild); L.RegFunction("RemoveChild", RemoveChild); L.RegFunction("SetLocalPosition", SetLocalPosition); L.RegFunction("GetLocalPosition", GetLocalPosition); L.RegFunction("SetLocalRotate", SetLocalRotate); L.RegFunction("GetLocalRotate", GetLocalRotate); L.RegFunction("SetWorldPosition", SetWorldPosition); L.RegFunction("GetWorldPosition", GetWorldPosition); L.RegFunction("SetWorldRotate", SetWorldRotate); L.RegFunction("GetWorldRotate", GetWorldRotate); L.RegFunction("SetScale", SetScale); L.RegFunction("GetScale", GetScale); L.RegFunction("GetTransForm", GetTransForm); L.RegFunction("New", _CreateNode); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("tag", get_tag, set_tag); L.RegVar("parent", get_parent, set_parent); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.Light), typeof(UnityEngine.Behaviour)); L.RegFunction("AddCommandBuffer", AddCommandBuffer); L.RegFunction("RemoveCommandBuffer", RemoveCommandBuffer); L.RegFunction("RemoveCommandBuffers", RemoveCommandBuffers); L.RegFunction("RemoveAllCommandBuffers", RemoveAllCommandBuffers); L.RegFunction("GetCommandBuffers", GetCommandBuffers); L.RegFunction("GetLights", GetLights); L.RegFunction("New", _CreateUnityEngine_Light); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("type", get_type, set_type); L.RegVar("color", get_color, set_color); L.RegVar("intensity", get_intensity, set_intensity); L.RegVar("bounceIntensity", get_bounceIntensity, set_bounceIntensity); L.RegVar("shadows", get_shadows, set_shadows); L.RegVar("shadowStrength", get_shadowStrength, set_shadowStrength); L.RegVar("shadowResolution", get_shadowResolution, set_shadowResolution); L.RegVar("shadowCustomResolution", get_shadowCustomResolution, set_shadowCustomResolution); L.RegVar("shadowBias", get_shadowBias, set_shadowBias); L.RegVar("shadowNormalBias", get_shadowNormalBias, set_shadowNormalBias); L.RegVar("shadowNearPlane", get_shadowNearPlane, set_shadowNearPlane); L.RegVar("range", get_range, set_range); L.RegVar("spotAngle", get_spotAngle, set_spotAngle); L.RegVar("cookieSize", get_cookieSize, set_cookieSize); L.RegVar("cookie", get_cookie, set_cookie); L.RegVar("flare", get_flare, set_flare); L.RegVar("renderMode", get_renderMode, set_renderMode); L.RegVar("bakedIndex", get_bakedIndex, set_bakedIndex); L.RegVar("isBaked", get_isBaked, null); L.RegVar("cullingMask", get_cullingMask, set_cullingMask); L.RegVar("lightmappingMode", get_lightmappingMode, set_lightmappingMode); L.RegVar("commandBufferCount", get_commandBufferCount, null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(FairyGUI.PopupMenu), typeof(System.Object)); L.RegFunction("AddItem", AddItem); L.RegFunction("AddItemAt", AddItemAt); L.RegFunction("AddSeperator", AddSeperator); L.RegFunction("GetItemName", GetItemName); L.RegFunction("SetItemText", SetItemText); L.RegFunction("SetItemVisible", SetItemVisible); L.RegFunction("SetItemGrayed", SetItemGrayed); L.RegFunction("SetItemCheckable", SetItemCheckable); L.RegFunction("SetItemChecked", SetItemChecked); L.RegFunction("isItemChecked", isItemChecked); L.RegFunction("RemoveItem", RemoveItem); L.RegFunction("ClearItems", ClearItems); L.RegFunction("Dispose", Dispose); L.RegFunction("Show", Show); L.RegFunction("New", _CreateFairyGUI_PopupMenu); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("itemCount", get_itemCount, null); L.RegVar("contentPane", get_contentPane, null); L.RegVar("list", get_list, null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(DragonBones.EventObject), typeof(DragonBones.BaseObject)); L.RegFunction("New", _CreateDragonBones_EventObject); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("START", get_START, null); L.RegVar("LOOP_COMPLETE", get_LOOP_COMPLETE, null); L.RegVar("COMPLETE", get_COMPLETE, null); L.RegVar("FADE_IN", get_FADE_IN, null); L.RegVar("FADE_IN_COMPLETE", get_FADE_IN_COMPLETE, null); L.RegVar("FADE_OUT", get_FADE_OUT, null); L.RegVar("FADE_OUT_COMPLETE", get_FADE_OUT_COMPLETE, null); L.RegVar("FRAME_EVENT", get_FRAME_EVENT, null); L.RegVar("SOUND_EVENT", get_SOUND_EVENT, null); L.RegVar("type", get_type, set_type); L.RegVar("name", get_name, set_name); L.RegVar("frame", get_frame, set_frame); L.RegVar("data", get_data, set_data); L.RegVar("armature", get_armature, set_armature); L.RegVar("bone", get_bone, set_bone); L.RegVar("slot", get_slot, set_slot); L.RegVar("animationState", get_animationState, set_animationState); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UIRect), typeof(MonoBehaviour), null); L.RegFunction("CalculateFinalAlpha", new LuaCSFunction(UIRectWrap.CalculateFinalAlpha)); L.RegFunction("Invalidate", new LuaCSFunction(UIRectWrap.Invalidate)); L.RegFunction("GetSides", new LuaCSFunction(UIRectWrap.GetSides)); L.RegFunction("Update", new LuaCSFunction(UIRectWrap.Update)); L.RegFunction("UpdateAnchors", new LuaCSFunction(UIRectWrap.UpdateAnchors)); L.RegFunction("SetAnchor", new LuaCSFunction(UIRectWrap.SetAnchor)); L.RegFunction("ResetAnchors", new LuaCSFunction(UIRectWrap.ResetAnchors)); L.RegFunction("ResetAndUpdateAnchors", new LuaCSFunction(UIRectWrap.ResetAndUpdateAnchors)); L.RegFunction("SetRect", new LuaCSFunction(UIRectWrap.SetRect)); L.RegFunction("ParentHasChanged", new LuaCSFunction(UIRectWrap.ParentHasChanged)); L.RegFunction("__eq", new LuaCSFunction(UIRectWrap.op_Equality)); L.RegFunction("__tostring", new LuaCSFunction(ToLua.op_ToString)); L.RegVar("leftAnchor", new LuaCSFunction(UIRectWrap.get_leftAnchor), new LuaCSFunction(UIRectWrap.set_leftAnchor)); L.RegVar("rightAnchor", new LuaCSFunction(UIRectWrap.get_rightAnchor), new LuaCSFunction(UIRectWrap.set_rightAnchor)); L.RegVar("bottomAnchor", new LuaCSFunction(UIRectWrap.get_bottomAnchor), new LuaCSFunction(UIRectWrap.set_bottomAnchor)); L.RegVar("topAnchor", new LuaCSFunction(UIRectWrap.get_topAnchor), new LuaCSFunction(UIRectWrap.set_topAnchor)); L.RegVar("updateAnchors", new LuaCSFunction(UIRectWrap.get_updateAnchors), new LuaCSFunction(UIRectWrap.set_updateAnchors)); L.RegVar("finalAlpha", new LuaCSFunction(UIRectWrap.get_finalAlpha), new LuaCSFunction(UIRectWrap.set_finalAlpha)); L.RegVar("cachedGameObject", new LuaCSFunction(UIRectWrap.get_cachedGameObject), null); L.RegVar("cachedTransform", new LuaCSFunction(UIRectWrap.get_cachedTransform), null); L.RegVar("anchorCamera", new LuaCSFunction(UIRectWrap.get_anchorCamera), null); L.RegVar("isFullyAnchored", new LuaCSFunction(UIRectWrap.get_isFullyAnchored), null); L.RegVar("isAnchoredHorizontally", new LuaCSFunction(UIRectWrap.get_isAnchoredHorizontally), null); L.RegVar("isAnchoredVertically", new LuaCSFunction(UIRectWrap.get_isAnchoredVertically), null); L.RegVar("canBeAnchored", new LuaCSFunction(UIRectWrap.get_canBeAnchored), null); L.RegVar("parent", new LuaCSFunction(UIRectWrap.get_parent), null); L.RegVar("root", new LuaCSFunction(UIRectWrap.get_root), null); L.RegVar("isAnchored", new LuaCSFunction(UIRectWrap.get_isAnchored), null); L.RegVar("alpha", new LuaCSFunction(UIRectWrap.get_alpha), new LuaCSFunction(UIRectWrap.set_alpha)); L.RegVar("localCorners", new LuaCSFunction(UIRectWrap.get_localCorners), null); L.RegVar("worldCorners", new LuaCSFunction(UIRectWrap.get_worldCorners), null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.RectTransform), typeof(UnityEngine.Transform)); L.RegFunction("ForceUpdateRectTransforms", ForceUpdateRectTransforms); L.RegFunction("GetLocalCorners", GetLocalCorners); L.RegFunction("GetWorldCorners", GetWorldCorners); L.RegFunction("SetInsetAndSizeFromParentEdge", SetInsetAndSizeFromParentEdge); L.RegFunction("SetSizeWithCurrentAnchors", SetSizeWithCurrentAnchors); L.RegFunction("New", _CreateUnityEngine_RectTransform); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("rect", get_rect, null); L.RegVar("anchorMin", get_anchorMin, set_anchorMin); L.RegVar("anchorMax", get_anchorMax, set_anchorMax); L.RegVar("anchoredPosition", get_anchoredPosition, set_anchoredPosition); L.RegVar("sizeDelta", get_sizeDelta, set_sizeDelta); L.RegVar("pivot", get_pivot, set_pivot); L.RegVar("anchoredPosition3D", get_anchoredPosition3D, set_anchoredPosition3D); L.RegVar("offsetMin", get_offsetMin, set_offsetMin); L.RegVar("offsetMax", get_offsetMax, set_offsetMax); L.RegVar("reapplyDrivenProperties", get_reapplyDrivenProperties, set_reapplyDrivenProperties); L.RegFunction("ReapplyDrivenProperties", UnityEngine_RectTransform_ReapplyDrivenProperties); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(FairyGUI.GComboBox), typeof(FairyGUI.GComponent)); L.RegFunction("Dispose", Dispose); L.RegFunction("ConstructFromXML", ConstructFromXML); L.RegFunction("Setup_AfterAdd", Setup_AfterAdd); L.RegFunction("UpdateDropdownList", UpdateDropdownList); L.RegFunction("New", _CreateFairyGUI_GComboBox); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("visibleItemCount", get_visibleItemCount, set_visibleItemCount); L.RegVar("dropdown", get_dropdown, set_dropdown); L.RegVar("onChanged", get_onChanged, null); L.RegVar("icon", get_icon, set_icon); L.RegVar("title", get_title, set_title); L.RegVar("text", get_text, set_text); L.RegVar("titleColor", get_titleColor, set_titleColor); L.RegVar("items", get_items, set_items); L.RegVar("icons", get_icons, set_icons); L.RegVar("values", get_values, set_values); L.RegVar("selectedIndex", get_selectedIndex, set_selectedIndex); L.RegVar("value", get_value, set_value); L.RegVar("popupDirection", get_popupDirection, set_popupDirection); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(NTGBattleUIController.UIBattleInfoItem), typeof(System.Object)); L.RegFunction("New", _CreateNTGBattleUIController_UIBattleInfoItem); L.RegFunction("__tostring", Lua_ToString); L.RegVar("RoleId", get_RoleId, set_RoleId); L.RegVar("SkinId", get_SkinId, set_SkinId); L.RegVar("PlayerName", get_PlayerName, set_PlayerName); L.RegVar("ZSkillId", get_ZSkillId, set_ZSkillId); L.RegVar("Level", get_Level, set_Level); L.RegVar("DeadCount", get_DeadCount, set_DeadCount); L.RegVar("CDCount", get_CDCount, set_CDCount); L.RegVar("Kill", get_Kill, set_Kill); L.RegVar("Dead", get_Dead, set_Dead); L.RegVar("Assistant", get_Assistant, set_Assistant); L.RegVar("Money", get_Money, set_Money); L.RegVar("Hp", get_Hp, set_Hp); L.RegVar("PAtk", get_PAtk, set_PAtk); L.RegVar("MAtk", get_MAtk, set_MAtk); L.RegVar("PDef", get_PDef, set_PDef); L.RegVar("MDef", get_MDef, set_MDef); L.RegVar("Equips", get_Equips, set_Equips); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.UI.Image), typeof(UnityEngine.UI.MaskableGraphic)); L.RegFunction("OnBeforeSerialize", OnBeforeSerialize); L.RegFunction("OnAfterDeserialize", OnAfterDeserialize); L.RegFunction("SetNativeSize", SetNativeSize); L.RegFunction("CalculateLayoutInputHorizontal", CalculateLayoutInputHorizontal); L.RegFunction("CalculateLayoutInputVertical", CalculateLayoutInputVertical); L.RegFunction("IsRaycastLocationValid", IsRaycastLocationValid); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("sprite", get_sprite, set_sprite); L.RegVar("overrideSprite", get_overrideSprite, set_overrideSprite); L.RegVar("type", get_type, set_type); L.RegVar("preserveAspect", get_preserveAspect, set_preserveAspect); L.RegVar("fillCenter", get_fillCenter, set_fillCenter); L.RegVar("fillMethod", get_fillMethod, set_fillMethod); L.RegVar("fillAmount", get_fillAmount, set_fillAmount); L.RegVar("fillClockwise", get_fillClockwise, set_fillClockwise); L.RegVar("fillOrigin", get_fillOrigin, set_fillOrigin); L.RegVar("alphaHitTestMinimumThreshold", get_alphaHitTestMinimumThreshold, set_alphaHitTestMinimumThreshold); L.RegVar("useSpriteMesh", get_useSpriteMesh, set_useSpriteMesh); L.RegVar("defaultETC1GraphicMaterial", get_defaultETC1GraphicMaterial, null); L.RegVar("mainTexture", get_mainTexture, null); L.RegVar("hasBorder", get_hasBorder, null); L.RegVar("pixelsPerUnit", get_pixelsPerUnit, null); L.RegVar("material", get_material, set_material); L.RegVar("minWidth", get_minWidth, null); L.RegVar("preferredWidth", get_preferredWidth, null); L.RegVar("flexibleWidth", get_flexibleWidth, null); L.RegVar("minHeight", get_minHeight, null); L.RegVar("preferredHeight", get_preferredHeight, null); L.RegVar("flexibleHeight", get_flexibleHeight, null); L.RegVar("layoutPriority", get_layoutPriority, null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UIManager), typeof(UnityEngine.MonoBehaviour)); L.RegFunction("Init", Init); L.RegFunction("CreateUIWindow", CreateUIWindow); L.RegFunction("OpenUIWindow", OpenUIWindow); L.RegFunction("CloseUIWindow", CloseUIWindow); L.RegFunction("CloseAllUI", CloseAllUI); L.RegFunction("DestroyUI", DestroyUI); L.RegFunction("DestroyAllUI", DestroyAllUI); L.RegFunction("DestroyAllActiveUI", DestroyAllActiveUI); L.RegFunction("GetUI", GetUI); L.RegFunction("DestroyAllHideUI", DestroyAllHideUI); L.RegFunction("GetHideUI", GetHideUI); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("s_UIManagerGo", get_s_UIManagerGo, set_s_UIManagerGo); L.RegVar("s_UILayerManager", get_s_UILayerManager, set_s_UILayerManager); L.RegVar("s_UIAnimManager", get_s_UIAnimManager, set_s_UIAnimManager); L.RegVar("s_UIcamera", get_s_UIcamera, set_s_UIcamera); L.RegVar("s_UIs", get_s_UIs, set_s_UIs); L.RegVar("s_hideUIs", get_s_hideUIs, set_s_hideUIs); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(Dictionary <,>), typeof(System.Object), "Dictionary"); L.RegFunction("get_Item", get_Item); L.RegFunction("set_Item", set_Item); L.RegFunction(".geti", _geti); L.RegFunction(".seti", _seti); L.RegFunction("Add", Add); L.RegFunction("Clear", Clear); L.RegFunction("ContainsKey", ContainsKey); L.RegFunction("ContainsValue", ContainsValue); L.RegFunction("GetObjectData", GetObjectData); L.RegFunction("OnDeserialization", OnDeserialization); L.RegFunction("Remove", Remove); L.RegFunction("TryGetValue", TryGetValue); L.RegFunction("GetEnumerator", GetEnumerator); L.RegVar("this", _this, null); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("Count", get_Count, null); L.RegVar("Comparer", get_Comparer, null); L.RegVar("Keys", get_Keys, null); L.RegVar("Values", get_Values, null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(CBattleEffectController), typeof(UnityEngine.MonoBehaviour)); L.RegFunction("StartShake", StartShake); L.RegFunction("PlaySlowAction", PlaySlowAction); L.RegFunction("StartBlack", StartBlack); L.RegFunction("StartWhite", StartWhite); L.RegFunction("WhiteToNormal", WhiteToNormal); L.RegFunction("BlackToNormal", BlackToNormal); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("m_fRunSpeed", get_m_fRunSpeed, set_m_fRunSpeed); L.RegVar("m_fJumpTime", get_m_fJumpTime, set_m_fJumpTime); L.RegVar("m_fMoveSpeed", get_m_fMoveSpeed, set_m_fMoveSpeed); L.RegVar("m_nShadowMaxNum", get_m_nShadowMaxNum, set_m_nShadowMaxNum); L.RegVar("m_fShadowOffsetX", get_m_fShadowOffsetX, set_m_fShadowOffsetX); L.RegVar("m_fShadowOffsetY", get_m_fShadowOffsetY, set_m_fShadowOffsetY); L.RegVar("m_arrShakeTime", get_m_arrShakeTime, set_m_arrShakeTime); L.RegVar("m_arrShakeOffset", get_m_arrShakeOffset, set_m_arrShakeOffset); L.RegVar("m_fScaleValue", get_m_fScaleValue, set_m_fScaleValue); L.RegVar("m_fAddSpeed1", get_m_fAddSpeed1, set_m_fAddSpeed1); L.RegVar("m_fAddSpeed2", get_m_fAddSpeed2, set_m_fAddSpeed2); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.Object), typeof(System.Object)); L.RegFunction("GetInstanceID", GetInstanceID); L.RegFunction("GetHashCode", GetHashCode); L.RegFunction("Equals", Equals); L.RegFunction("FindObjectsOfType", FindObjectsOfType); L.RegFunction("DontDestroyOnLoad", DontDestroyOnLoad); L.RegFunction("FindObjectOfType", FindObjectOfType); L.RegFunction("ToString", ToString); L.RegFunction("Instantiate", Instantiate); L.RegFunction("DestroyImmediate", DestroyImmediate); L.RegFunction("Destroy", Destroy); L.RegFunction("New", _CreateUnityEngine_Object); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("name", get_name, set_name); L.RegFunction("getname", get_name); L.RegFunction("setname", set_name); L.RegVar("hideFlags", get_hideFlags, set_hideFlags); L.RegFunction("gethideFlags", get_hideFlags); L.RegFunction("sethideFlags", set_hideFlags); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(FairyGUI.UIPackage), typeof(System.Object)); L.RegFunction("GetById", GetById); L.RegFunction("GetByName", GetByName); L.RegFunction("AddPackage", AddPackage); L.RegFunction("RemovePackage", RemovePackage); L.RegFunction("RemoveAllPackages", RemoveAllPackages); L.RegFunction("GetPackages", GetPackages); L.RegFunction("CreateObject", CreateObject); L.RegFunction("CreateObjectFromURL", CreateObjectFromURL); L.RegFunction("CreateObjectAsync", CreateObjectAsync); L.RegFunction("GetItemAsset", GetItemAsset); L.RegFunction("GetItemAssetByURL", GetItemAssetByURL); L.RegFunction("GetItemURL", GetItemURL); L.RegFunction("GetItemByURL", GetItemByURL); L.RegFunction("NormalizeURL", NormalizeURL); L.RegFunction("SetStringsSource", SetStringsSource); L.RegFunction("LoadAllAssets", LoadAllAssets); L.RegFunction("UnloadAssets", UnloadAssets); L.RegFunction("ReloadAssets", ReloadAssets); L.RegFunction("GetItems", GetItems); L.RegFunction("GetItem", GetItem); L.RegFunction("GetItemByName", GetItemByName); L.RegFunction("New", _CreateFairyGUI_UIPackage); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("URL_PREFIX", get_URL_PREFIX, null); L.RegVar("id", get_id, null); L.RegVar("name", get_name, null); L.RegVar("assetPath", get_assetPath, null); L.RegVar("customId", get_customId, set_customId); L.RegVar("resBundle", get_resBundle, null); L.RegFunction("LoadResource", FairyGUI_UIPackage_LoadResource); L.RegFunction("CreateObjectCallback", FairyGUI_UIPackage_CreateObjectCallback); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(AudioManager), typeof(UnityEngine.MonoBehaviour)); L.RegFunction("Init", Init); L.RegFunction("Update", Update); L.RegFunction("PlayMusic2D", PlayMusic2D); L.RegFunction("PlaySound2D", PlaySound2D); L.RegFunction("PlaySound3D", PlaySound3D); L.RegFunction("GetAudioSource2D", GetAudioSource2D); L.RegFunction("GetAudioSource3D", GetAudioSource3D); L.RegFunction("GetAudioClip", GetAudioClip); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("s_2Dmusic", get_s_2Dmusic, set_s_2Dmusic); L.RegVar("s_MusicIsPlaying", get_s_MusicIsPlaying, set_s_MusicIsPlaying); L.RegVar("s_OnMusicComplete", get_s_OnMusicComplete, set_s_OnMusicComplete); L.RegVar("s_OnMusicVolumeChange", get_s_OnMusicVolumeChange, set_s_OnMusicVolumeChange); L.RegVar("s_OnSoundVolumeChange", get_s_OnSoundVolumeChange, set_s_OnSoundVolumeChange); L.RegVar("Instance", get_Instance, null); L.RegVar("s_GlobalVolume", get_s_GlobalVolume, set_s_GlobalVolume); L.RegVar("s_MusicVolume", get_s_MusicVolume, set_s_MusicVolume); L.RegVar("s_SoundVolume", get_s_SoundVolume, set_s_SoundVolume); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.AudioClip), typeof(UnityEngine.Object)); L.RegFunction("LoadAudioData", LoadAudioData); L.RegFunction("UnloadAudioData", UnloadAudioData); L.RegFunction("GetData", GetData); L.RegFunction("SetData", SetData); L.RegFunction("Create", Create); L.RegFunction("New", _CreateUnityEngine_AudioClip); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", Lua_ToString); L.RegVar("length", get_length, null); L.RegVar("samples", get_samples, null); L.RegVar("channels", get_channels, null); L.RegVar("frequency", get_frequency, null); L.RegVar("loadType", get_loadType, null); L.RegVar("preloadAudioData", get_preloadAudioData, null); L.RegVar("loadState", get_loadState, null); L.RegVar("loadInBackground", get_loadInBackground, null); L.RegFunction("PCMReaderCallback", PCMReaderCallback); L.RegFunction("PCMSetPositionCallback", PCMSetPositionCallback); L.RegVar("out", get_out, null); L.EndClass(); }
public static void Register(LuaState L) { L.BeginClass(typeof(SoundManager), typeof(UnityEngine.MonoBehaviour)); L.RegFunction("IsBGMPlaying", IsBGMPlaying); L.RegFunction("IsPlaying", IsPlaying); L.RegFunction("PlayBGMusic", PlayBGMusic); L.RegFunction("PlaySoundEffect", PlaySoundEffect); L.RegFunction("PlaySoundEffectAtPos", PlaySoundEffectAtPos); L.RegFunction("PlaySoundEffectAtPos2", PlaySoundEffectAtPos2); L.RegFunction("SetAreaSoundMute", SetAreaSoundMute); L.RegFunction("SetBgmPause", SetBgmPause); L.RegFunction("StopAllSoundEffect", StopAllSoundEffect); L.RegFunction("StopBGM", StopBGM); L.RegFunction("StopSoundEffect", StopSoundEffect); L.RegFunction("StopSoundEffectByTag", StopSoundEffectByTag); L.RegFunction("Init", Init); L.RegFunction("Reset", Reset); L.RegFunction("Tick", Tick); L.RegFunction("Destroy", Destroy); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("BGMPrefsKey", get_BGMPrefsKey, null); L.RegVar("SFXPrefsKey", get_SFXPrefsKey, null); L.RegVar("mEnableBGM", get_mEnableBGM, set_mEnableBGM); L.RegVar("mEnableSFX", get_mEnableSFX, set_mEnableSFX); L.RegVar("mSFXChannelsCount", get_mSFXChannelsCount, set_mSFXChannelsCount); L.RegVar("mBgmVolume", get_mBgmVolume, set_mBgmVolume); L.RegVar("mSfxVolume", get_mSfxVolume, set_mSfxVolume); L.RegVar("mSoundClipPools", get_mSoundClipPools, set_mSoundClipPools); L.RegVar("EnableBGM", get_EnableBGM, set_EnableBGM); L.RegVar("EnableSFX", get_EnableSFX, set_EnableSFX); L.RegVar("Instance", get_Instance, null); L.RegVar("NextTag", get_NextTag, null); L.RegVar("VoicePlaying", null, set_VoicePlaying); L.EndClass(); }