public void __RegisterUnityEngineParticleSystem(RealStatePtr L)
        {
            System.Type type = typeof(UnityEngine.ParticleSystem);
            Utils.BeginObjectRegister(type, L, this, 0, 16, 31, 3);

            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetParticles", UnityEngineParticleSystem_m_SetParticles);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetParticles", UnityEngineParticleSystem_m_GetParticles);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetCustomParticleData", UnityEngineParticleSystem_m_SetCustomParticleData);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetCustomParticleData", UnityEngineParticleSystem_m_GetCustomParticleData);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPlaybackState", UnityEngineParticleSystem_m_GetPlaybackState);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetPlaybackState", UnityEngineParticleSystem_m_SetPlaybackState);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetTrails", UnityEngineParticleSystem_m_GetTrails);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetTrails", UnityEngineParticleSystem_m_SetTrails);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Simulate", UnityEngineParticleSystem_m_Simulate);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Play", UnityEngineParticleSystem_m_Play);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Pause", UnityEngineParticleSystem_m_Pause);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Stop", UnityEngineParticleSystem_m_Stop);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Clear", UnityEngineParticleSystem_m_Clear);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsAlive", UnityEngineParticleSystem_m_IsAlive);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Emit", UnityEngineParticleSystem_m_Emit);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "TriggerSubEmitter", UnityEngineParticleSystem_m_TriggerSubEmitter);


            Utils.RegisterFunc(L, Utils.GETTER_IDX, "isPlaying", UnityEngineParticleSystem_g_get_isPlaying);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "isEmitting", UnityEngineParticleSystem_g_get_isEmitting);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "isStopped", UnityEngineParticleSystem_g_get_isStopped);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "isPaused", UnityEngineParticleSystem_g_get_isPaused);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "particleCount", UnityEngineParticleSystem_g_get_particleCount);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "time", UnityEngineParticleSystem_g_get_time);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "randomSeed", UnityEngineParticleSystem_g_get_randomSeed);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "useAutoRandomSeed", UnityEngineParticleSystem_g_get_useAutoRandomSeed);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "proceduralSimulationSupported", UnityEngineParticleSystem_g_get_proceduralSimulationSupported);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "main", UnityEngineParticleSystem_g_get_main);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "emission", UnityEngineParticleSystem_g_get_emission);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "shape", UnityEngineParticleSystem_g_get_shape);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "velocityOverLifetime", UnityEngineParticleSystem_g_get_velocityOverLifetime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "limitVelocityOverLifetime", UnityEngineParticleSystem_g_get_limitVelocityOverLifetime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "inheritVelocity", UnityEngineParticleSystem_g_get_inheritVelocity);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "forceOverLifetime", UnityEngineParticleSystem_g_get_forceOverLifetime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "colorOverLifetime", UnityEngineParticleSystem_g_get_colorOverLifetime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "colorBySpeed", UnityEngineParticleSystem_g_get_colorBySpeed);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "sizeOverLifetime", UnityEngineParticleSystem_g_get_sizeOverLifetime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "sizeBySpeed", UnityEngineParticleSystem_g_get_sizeBySpeed);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "rotationOverLifetime", UnityEngineParticleSystem_g_get_rotationOverLifetime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "rotationBySpeed", UnityEngineParticleSystem_g_get_rotationBySpeed);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "externalForces", UnityEngineParticleSystem_g_get_externalForces);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "noise", UnityEngineParticleSystem_g_get_noise);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "collision", UnityEngineParticleSystem_g_get_collision);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "trigger", UnityEngineParticleSystem_g_get_trigger);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "subEmitters", UnityEngineParticleSystem_g_get_subEmitters);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "textureSheetAnimation", UnityEngineParticleSystem_g_get_textureSheetAnimation);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "lights", UnityEngineParticleSystem_g_get_lights);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "trails", UnityEngineParticleSystem_g_get_trails);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "customData", UnityEngineParticleSystem_g_get_customData);

            Utils.RegisterFunc(L, Utils.SETTER_IDX, "time", UnityEngineParticleSystem_s_set_time);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "randomSeed", UnityEngineParticleSystem_s_set_randomSeed);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "useAutoRandomSeed", UnityEngineParticleSystem_s_set_useAutoRandomSeed);


            Utils.EndObjectRegister(type, L, this, null, null,
                                    null, null, null);

            Utils.BeginClassRegister(type, L, __CreateInstanceUnityEngineParticleSystem, 2, 0, 0);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ResetPreMappedBufferMemory", UnityEngineParticleSystem_m_ResetPreMappedBufferMemory_xlua_st_);



            Utils.EndClassRegister(type, L, this);
        }
Exemple #2
0
        public void __RegisterUnityEngineUIImage(RealStatePtr L)
        {
            System.Type type = typeof(UnityEngine.UI.Image);
            Utils.BeginObjectRegister(type, L, this, 0, 7, 23, 13);

            Utils.RegisterFunc(L, Utils.METHOD_IDX, "DisableSpriteOptimizations", UnityEngineUIImage_m_DisableSpriteOptimizations);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforeSerialize", UnityEngineUIImage_m_OnBeforeSerialize);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnAfterDeserialize", UnityEngineUIImage_m_OnAfterDeserialize);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetNativeSize", UnityEngineUIImage_m_SetNativeSize);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "CalculateLayoutInputHorizontal", UnityEngineUIImage_m_CalculateLayoutInputHorizontal);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "CalculateLayoutInputVertical", UnityEngineUIImage_m_CalculateLayoutInputVertical);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsRaycastLocationValid", UnityEngineUIImage_m_IsRaycastLocationValid);


            Utils.RegisterFunc(L, Utils.GETTER_IDX, "sprite", UnityEngineUIImage_g_get_sprite);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "overrideSprite", UnityEngineUIImage_g_get_overrideSprite);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "type", UnityEngineUIImage_g_get_type);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "preserveAspect", UnityEngineUIImage_g_get_preserveAspect);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "fillCenter", UnityEngineUIImage_g_get_fillCenter);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "fillMethod", UnityEngineUIImage_g_get_fillMethod);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "fillAmount", UnityEngineUIImage_g_get_fillAmount);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "fillClockwise", UnityEngineUIImage_g_get_fillClockwise);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "fillOrigin", UnityEngineUIImage_g_get_fillOrigin);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "alphaHitTestMinimumThreshold", UnityEngineUIImage_g_get_alphaHitTestMinimumThreshold);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "useSpriteMesh", UnityEngineUIImage_g_get_useSpriteMesh);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "mainTexture", UnityEngineUIImage_g_get_mainTexture);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "hasBorder", UnityEngineUIImage_g_get_hasBorder);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "pixelsPerUnitMultiplier", UnityEngineUIImage_g_get_pixelsPerUnitMultiplier);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "pixelsPerUnit", UnityEngineUIImage_g_get_pixelsPerUnit);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "material", UnityEngineUIImage_g_get_material);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "minWidth", UnityEngineUIImage_g_get_minWidth);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "preferredWidth", UnityEngineUIImage_g_get_preferredWidth);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "flexibleWidth", UnityEngineUIImage_g_get_flexibleWidth);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "minHeight", UnityEngineUIImage_g_get_minHeight);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "preferredHeight", UnityEngineUIImage_g_get_preferredHeight);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "flexibleHeight", UnityEngineUIImage_g_get_flexibleHeight);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "layoutPriority", UnityEngineUIImage_g_get_layoutPriority);

            Utils.RegisterFunc(L, Utils.SETTER_IDX, "sprite", UnityEngineUIImage_s_set_sprite);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "overrideSprite", UnityEngineUIImage_s_set_overrideSprite);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "type", UnityEngineUIImage_s_set_type);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "preserveAspect", UnityEngineUIImage_s_set_preserveAspect);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "fillCenter", UnityEngineUIImage_s_set_fillCenter);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "fillMethod", UnityEngineUIImage_s_set_fillMethod);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "fillAmount", UnityEngineUIImage_s_set_fillAmount);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "fillClockwise", UnityEngineUIImage_s_set_fillClockwise);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "fillOrigin", UnityEngineUIImage_s_set_fillOrigin);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "alphaHitTestMinimumThreshold", UnityEngineUIImage_s_set_alphaHitTestMinimumThreshold);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "useSpriteMesh", UnityEngineUIImage_s_set_useSpriteMesh);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "pixelsPerUnitMultiplier", UnityEngineUIImage_s_set_pixelsPerUnitMultiplier);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "material", UnityEngineUIImage_s_set_material);


            Utils.EndObjectRegister(type, L, this, null, null,
                                    null, null, null);

            Utils.BeginClassRegister(type, L, __CreateInstanceUnityEngineUIImage, 1, 1, 0);



            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "defaultETC1GraphicMaterial", UnityEngineUIImage_g_get_defaultETC1GraphicMaterial);



            Utils.EndClassRegister(type, L, this);
        }
        public void __RegisterUnityEngineUIInputField(RealStatePtr L)
        {
            System.Type type = typeof(UnityEngine.UI.InputField);
            Utils.BeginObjectRegister(type, L, this, 0, 21, 34, 23);

            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetTextWithoutNotify", UnityEngineUIInputField_m_SetTextWithoutNotify);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "MoveTextEnd", UnityEngineUIInputField_m_MoveTextEnd);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "MoveTextStart", UnityEngineUIInputField_m_MoveTextStart);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeginDrag", UnityEngineUIInputField_m_OnBeginDrag);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnDrag", UnityEngineUIInputField_m_OnDrag);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnEndDrag", UnityEngineUIInputField_m_OnEndDrag);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPointerDown", UnityEngineUIInputField_m_OnPointerDown);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "ProcessEvent", UnityEngineUIInputField_m_ProcessEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnUpdateSelected", UnityEngineUIInputField_m_OnUpdateSelected);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "ForceLabelUpdate", UnityEngineUIInputField_m_ForceLabelUpdate);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Rebuild", UnityEngineUIInputField_m_Rebuild);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "LayoutComplete", UnityEngineUIInputField_m_LayoutComplete);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GraphicUpdateComplete", UnityEngineUIInputField_m_GraphicUpdateComplete);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "ActivateInputField", UnityEngineUIInputField_m_ActivateInputField);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnSelect", UnityEngineUIInputField_m_OnSelect);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPointerClick", UnityEngineUIInputField_m_OnPointerClick);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "DeactivateInputField", UnityEngineUIInputField_m_DeactivateInputField);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnDeselect", UnityEngineUIInputField_m_OnDeselect);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnSubmit", UnityEngineUIInputField_m_OnSubmit);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "CalculateLayoutInputHorizontal", UnityEngineUIInputField_m_CalculateLayoutInputHorizontal);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "CalculateLayoutInputVertical", UnityEngineUIInputField_m_CalculateLayoutInputVertical);


            Utils.RegisterFunc(L, Utils.GETTER_IDX, "shouldHideMobileInput", UnityEngineUIInputField_g_get_shouldHideMobileInput);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "text", UnityEngineUIInputField_g_get_text);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "isFocused", UnityEngineUIInputField_g_get_isFocused);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "caretBlinkRate", UnityEngineUIInputField_g_get_caretBlinkRate);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "caretWidth", UnityEngineUIInputField_g_get_caretWidth);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "textComponent", UnityEngineUIInputField_g_get_textComponent);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "placeholder", UnityEngineUIInputField_g_get_placeholder);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "caretColor", UnityEngineUIInputField_g_get_caretColor);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "customCaretColor", UnityEngineUIInputField_g_get_customCaretColor);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "selectionColor", UnityEngineUIInputField_g_get_selectionColor);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "onEndEdit", UnityEngineUIInputField_g_get_onEndEdit);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "onValueChanged", UnityEngineUIInputField_g_get_onValueChanged);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "onValidateInput", UnityEngineUIInputField_g_get_onValidateInput);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "characterLimit", UnityEngineUIInputField_g_get_characterLimit);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "contentType", UnityEngineUIInputField_g_get_contentType);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "lineType", UnityEngineUIInputField_g_get_lineType);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "inputType", UnityEngineUIInputField_g_get_inputType);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "touchScreenKeyboard", UnityEngineUIInputField_g_get_touchScreenKeyboard);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "keyboardType", UnityEngineUIInputField_g_get_keyboardType);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "characterValidation", UnityEngineUIInputField_g_get_characterValidation);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "readOnly", UnityEngineUIInputField_g_get_readOnly);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "multiLine", UnityEngineUIInputField_g_get_multiLine);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "asteriskChar", UnityEngineUIInputField_g_get_asteriskChar);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "wasCanceled", UnityEngineUIInputField_g_get_wasCanceled);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "caretPosition", UnityEngineUIInputField_g_get_caretPosition);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "selectionAnchorPosition", UnityEngineUIInputField_g_get_selectionAnchorPosition);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "selectionFocusPosition", UnityEngineUIInputField_g_get_selectionFocusPosition);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "minWidth", UnityEngineUIInputField_g_get_minWidth);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "preferredWidth", UnityEngineUIInputField_g_get_preferredWidth);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "flexibleWidth", UnityEngineUIInputField_g_get_flexibleWidth);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "minHeight", UnityEngineUIInputField_g_get_minHeight);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "preferredHeight", UnityEngineUIInputField_g_get_preferredHeight);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "flexibleHeight", UnityEngineUIInputField_g_get_flexibleHeight);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "layoutPriority", UnityEngineUIInputField_g_get_layoutPriority);

            Utils.RegisterFunc(L, Utils.SETTER_IDX, "shouldHideMobileInput", UnityEngineUIInputField_s_set_shouldHideMobileInput);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "text", UnityEngineUIInputField_s_set_text);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "caretBlinkRate", UnityEngineUIInputField_s_set_caretBlinkRate);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "caretWidth", UnityEngineUIInputField_s_set_caretWidth);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "textComponent", UnityEngineUIInputField_s_set_textComponent);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "placeholder", UnityEngineUIInputField_s_set_placeholder);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "caretColor", UnityEngineUIInputField_s_set_caretColor);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "customCaretColor", UnityEngineUIInputField_s_set_customCaretColor);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "selectionColor", UnityEngineUIInputField_s_set_selectionColor);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "onEndEdit", UnityEngineUIInputField_s_set_onEndEdit);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "onValueChanged", UnityEngineUIInputField_s_set_onValueChanged);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "onValidateInput", UnityEngineUIInputField_s_set_onValidateInput);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "characterLimit", UnityEngineUIInputField_s_set_characterLimit);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "contentType", UnityEngineUIInputField_s_set_contentType);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "lineType", UnityEngineUIInputField_s_set_lineType);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "inputType", UnityEngineUIInputField_s_set_inputType);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "keyboardType", UnityEngineUIInputField_s_set_keyboardType);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "characterValidation", UnityEngineUIInputField_s_set_characterValidation);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "readOnly", UnityEngineUIInputField_s_set_readOnly);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "asteriskChar", UnityEngineUIInputField_s_set_asteriskChar);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "caretPosition", UnityEngineUIInputField_s_set_caretPosition);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "selectionAnchorPosition", UnityEngineUIInputField_s_set_selectionAnchorPosition);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "selectionFocusPosition", UnityEngineUIInputField_s_set_selectionFocusPosition);


            Utils.EndObjectRegister(type, L, this, null, null,
                                    null, null, null);

            Utils.BeginClassRegister(type, L, __CreateInstanceUnityEngineUIInputField, 1, 0, 0);



            Utils.EndClassRegister(type, L, this);
        }
Exemple #4
0
        public void __RegisterUnityEngineTransform(RealStatePtr L)
        {
            System.Type type = typeof(UnityEngine.Transform);
            Utils.BeginObjectRegister(type, L, this, 0, 21, 19, 13);

            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetParent", UnityEngineTransform_m_SetParent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetPositionAndRotation", UnityEngineTransform_m_SetPositionAndRotation);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Translate", UnityEngineTransform_m_Translate);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Rotate", UnityEngineTransform_m_Rotate);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "RotateAround", UnityEngineTransform_m_RotateAround);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "LookAt", UnityEngineTransform_m_LookAt);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "TransformDirection", UnityEngineTransform_m_TransformDirection);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "InverseTransformDirection", UnityEngineTransform_m_InverseTransformDirection);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "TransformVector", UnityEngineTransform_m_TransformVector);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "InverseTransformVector", UnityEngineTransform_m_InverseTransformVector);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "TransformPoint", UnityEngineTransform_m_TransformPoint);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "InverseTransformPoint", UnityEngineTransform_m_InverseTransformPoint);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "DetachChildren", UnityEngineTransform_m_DetachChildren);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetAsFirstSibling", UnityEngineTransform_m_SetAsFirstSibling);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetAsLastSibling", UnityEngineTransform_m_SetAsLastSibling);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetSiblingIndex", UnityEngineTransform_m_SetSiblingIndex);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSiblingIndex", UnityEngineTransform_m_GetSiblingIndex);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Find", UnityEngineTransform_m_Find);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsChildOf", UnityEngineTransform_m_IsChildOf);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEnumerator", UnityEngineTransform_m_GetEnumerator);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetChild", UnityEngineTransform_m_GetChild);


            Utils.RegisterFunc(L, Utils.GETTER_IDX, "position", UnityEngineTransform_g_get_position);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "localPosition", UnityEngineTransform_g_get_localPosition);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "eulerAngles", UnityEngineTransform_g_get_eulerAngles);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "localEulerAngles", UnityEngineTransform_g_get_localEulerAngles);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "right", UnityEngineTransform_g_get_right);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "up", UnityEngineTransform_g_get_up);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "forward", UnityEngineTransform_g_get_forward);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "rotation", UnityEngineTransform_g_get_rotation);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "localRotation", UnityEngineTransform_g_get_localRotation);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "localScale", UnityEngineTransform_g_get_localScale);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "parent", UnityEngineTransform_g_get_parent);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "worldToLocalMatrix", UnityEngineTransform_g_get_worldToLocalMatrix);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "localToWorldMatrix", UnityEngineTransform_g_get_localToWorldMatrix);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "root", UnityEngineTransform_g_get_root);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "childCount", UnityEngineTransform_g_get_childCount);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "lossyScale", UnityEngineTransform_g_get_lossyScale);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "hasChanged", UnityEngineTransform_g_get_hasChanged);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "hierarchyCapacity", UnityEngineTransform_g_get_hierarchyCapacity);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "hierarchyCount", UnityEngineTransform_g_get_hierarchyCount);

            Utils.RegisterFunc(L, Utils.SETTER_IDX, "position", UnityEngineTransform_s_set_position);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "localPosition", UnityEngineTransform_s_set_localPosition);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "eulerAngles", UnityEngineTransform_s_set_eulerAngles);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "localEulerAngles", UnityEngineTransform_s_set_localEulerAngles);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "right", UnityEngineTransform_s_set_right);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "up", UnityEngineTransform_s_set_up);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "forward", UnityEngineTransform_s_set_forward);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "rotation", UnityEngineTransform_s_set_rotation);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "localRotation", UnityEngineTransform_s_set_localRotation);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "localScale", UnityEngineTransform_s_set_localScale);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "parent", UnityEngineTransform_s_set_parent);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "hasChanged", UnityEngineTransform_s_set_hasChanged);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "hierarchyCapacity", UnityEngineTransform_s_set_hierarchyCapacity);


            Utils.EndObjectRegister(type, L, this, null, null,
                                    null, null, null);

            Utils.BeginClassRegister(type, L, __CreateInstanceUnityEngineTransform, 1, 0, 0);



            Utils.EndClassRegister(type, L, this);
        }
Exemple #5
0
        public void __RegisterUnityEngineVector4(RealStatePtr L)
        {
            System.Type type = typeof(UnityEngine.Vector4);
            Utils.BeginObjectRegister(type, L, this, 6, 7, 7, 4);
            Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__add", UnityEngineVector4__AddMeta);
            Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__sub", UnityEngineVector4__SubMeta);
            Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__unm", UnityEngineVector4__UnmMeta);
            Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__mul", UnityEngineVector4__MulMeta);
            Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__div", UnityEngineVector4__DivMeta);
            Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__eq", UnityEngineVector4__EqMeta);

            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Set", UnityEngineVector4_m_Set);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Scale", UnityEngineVector4_m_Scale);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetHashCode", UnityEngineVector4_m_GetHashCode);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Equals", UnityEngineVector4_m_Equals);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Normalize", UnityEngineVector4_m_Normalize);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "ToString", UnityEngineVector4_m_ToString);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SqrMagnitude", UnityEngineVector4_m_SqrMagnitude);


            Utils.RegisterFunc(L, Utils.GETTER_IDX, "normalized", UnityEngineVector4_g_get_normalized);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "magnitude", UnityEngineVector4_g_get_magnitude);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "sqrMagnitude", UnityEngineVector4_g_get_sqrMagnitude);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "x", UnityEngineVector4_g_get_x);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "y", UnityEngineVector4_g_get_y);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "z", UnityEngineVector4_g_get_z);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "w", UnityEngineVector4_g_get_w);

            Utils.RegisterFunc(L, Utils.SETTER_IDX, "x", UnityEngineVector4_s_set_x);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "y", UnityEngineVector4_s_set_y);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "z", UnityEngineVector4_s_set_z);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "w", UnityEngineVector4_s_set_w);


            Utils.EndObjectRegister(type, L, this, __CSIndexerUnityEngineVector4, __NewIndexerUnityEngineVector4,
                                    null, null, null);

            Utils.BeginClassRegister(type, L, __CreateInstanceUnityEngineVector4, 14, 4, 0);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Lerp", UnityEngineVector4_m_Lerp_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "LerpUnclamped", UnityEngineVector4_m_LerpUnclamped_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "MoveTowards", UnityEngineVector4_m_MoveTowards_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Scale", UnityEngineVector4_m_Scale_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Normalize", UnityEngineVector4_m_Normalize_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Dot", UnityEngineVector4_m_Dot_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Project", UnityEngineVector4_m_Project_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Distance", UnityEngineVector4_m_Distance_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Magnitude", UnityEngineVector4_m_Magnitude_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Min", UnityEngineVector4_m_Min_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Max", UnityEngineVector4_m_Max_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SqrMagnitude", UnityEngineVector4_m_SqrMagnitude_xlua_st_);


            Utils.RegisterObject(L, this, Utils.CLS_IDX, "kEpsilon", UnityEngine.Vector4.kEpsilon);

            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "zero", UnityEngineVector4_g_get_zero);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "one", UnityEngineVector4_g_get_one);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "positiveInfinity", UnityEngineVector4_g_get_positiveInfinity);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "negativeInfinity", UnityEngineVector4_g_get_negativeInfinity);



            Utils.EndClassRegister(type, L, this);
        }
        public void __RegisterUnityEngineEventSystemsPointerEventData(RealStatePtr L)
        {
            System.Type type = typeof(UnityEngine.EventSystems.PointerEventData);
            Utils.BeginObjectRegister(type, L, this, 0, 3, 21, 18);

            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsPointerMoving", UnityEngineEventSystemsPointerEventData_m_IsPointerMoving);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsScrolling", UnityEngineEventSystemsPointerEventData_m_IsScrolling);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "ToString", UnityEngineEventSystemsPointerEventData_m_ToString);


            Utils.RegisterFunc(L, Utils.GETTER_IDX, "pointerEnter", UnityEngineEventSystemsPointerEventData_g_get_pointerEnter);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "lastPress", UnityEngineEventSystemsPointerEventData_g_get_lastPress);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "rawPointerPress", UnityEngineEventSystemsPointerEventData_g_get_rawPointerPress);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "pointerDrag", UnityEngineEventSystemsPointerEventData_g_get_pointerDrag);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "pointerCurrentRaycast", UnityEngineEventSystemsPointerEventData_g_get_pointerCurrentRaycast);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "pointerPressRaycast", UnityEngineEventSystemsPointerEventData_g_get_pointerPressRaycast);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "eligibleForClick", UnityEngineEventSystemsPointerEventData_g_get_eligibleForClick);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "pointerId", UnityEngineEventSystemsPointerEventData_g_get_pointerId);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "position", UnityEngineEventSystemsPointerEventData_g_get_position);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "delta", UnityEngineEventSystemsPointerEventData_g_get_delta);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "pressPosition", UnityEngineEventSystemsPointerEventData_g_get_pressPosition);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "clickTime", UnityEngineEventSystemsPointerEventData_g_get_clickTime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "clickCount", UnityEngineEventSystemsPointerEventData_g_get_clickCount);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "scrollDelta", UnityEngineEventSystemsPointerEventData_g_get_scrollDelta);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "useDragThreshold", UnityEngineEventSystemsPointerEventData_g_get_useDragThreshold);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "dragging", UnityEngineEventSystemsPointerEventData_g_get_dragging);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "button", UnityEngineEventSystemsPointerEventData_g_get_button);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "enterEventCamera", UnityEngineEventSystemsPointerEventData_g_get_enterEventCamera);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "pressEventCamera", UnityEngineEventSystemsPointerEventData_g_get_pressEventCamera);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "pointerPress", UnityEngineEventSystemsPointerEventData_g_get_pointerPress);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "hovered", UnityEngineEventSystemsPointerEventData_g_get_hovered);

            Utils.RegisterFunc(L, Utils.SETTER_IDX, "pointerEnter", UnityEngineEventSystemsPointerEventData_s_set_pointerEnter);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "rawPointerPress", UnityEngineEventSystemsPointerEventData_s_set_rawPointerPress);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "pointerDrag", UnityEngineEventSystemsPointerEventData_s_set_pointerDrag);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "pointerCurrentRaycast", UnityEngineEventSystemsPointerEventData_s_set_pointerCurrentRaycast);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "pointerPressRaycast", UnityEngineEventSystemsPointerEventData_s_set_pointerPressRaycast);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "eligibleForClick", UnityEngineEventSystemsPointerEventData_s_set_eligibleForClick);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "pointerId", UnityEngineEventSystemsPointerEventData_s_set_pointerId);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "position", UnityEngineEventSystemsPointerEventData_s_set_position);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "delta", UnityEngineEventSystemsPointerEventData_s_set_delta);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "pressPosition", UnityEngineEventSystemsPointerEventData_s_set_pressPosition);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "clickTime", UnityEngineEventSystemsPointerEventData_s_set_clickTime);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "clickCount", UnityEngineEventSystemsPointerEventData_s_set_clickCount);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "scrollDelta", UnityEngineEventSystemsPointerEventData_s_set_scrollDelta);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "useDragThreshold", UnityEngineEventSystemsPointerEventData_s_set_useDragThreshold);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "dragging", UnityEngineEventSystemsPointerEventData_s_set_dragging);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "button", UnityEngineEventSystemsPointerEventData_s_set_button);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "pointerPress", UnityEngineEventSystemsPointerEventData_s_set_pointerPress);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "hovered", UnityEngineEventSystemsPointerEventData_s_set_hovered);


            Utils.EndObjectRegister(type, L, this, null, null,
                                    null, null, null);

            Utils.BeginClassRegister(type, L, __CreateInstanceUnityEngineEventSystemsPointerEventData, 1, 0, 0);



            Utils.EndClassRegister(type, L, this);
        }