public void __RegisterSystemObject(RealStatePtr L)
        {
            System.Type type = typeof(object);
            Utils.BeginObjectRegister(type, L, this, 0, 5, 0, 0);

            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Equals", SystemObject_m_Equals);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetHashCode", SystemObject_m_GetHashCode);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetType", SystemObject_m_GetType);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "ToString", SystemObject_m_ToString);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetTypeName", SystemObject_m_GetTypeName);



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

            Utils.BeginClassRegister(type, L, __CreateInstanceSystemObject, 3, 0, 0);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Equals", SystemObject_m_Equals_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ReferenceEquals", SystemObject_m_ReferenceEquals_xlua_st_);



            Utils.EndClassRegister(type, L, this);
        }
示例#2
0
        public void __RegisterTSLuaFrameworkUIUIParticle(RealStatePtr L)
        {
            System.Type type = typeof(TSLuaFramework.UI.UIParticle);
            Utils.BeginObjectRegister(type, L, this, 0, 0, 3, 2);



            Utils.RegisterFunc(L, Utils.GETTER_IDX, "mainTexture", TSLuaFrameworkUIUIParticle_g_get_mainTexture);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "fixedTime", TSLuaFrameworkUIUIParticle_g_get_fixedTime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "maxParticleCount", TSLuaFrameworkUIUIParticle_g_get_maxParticleCount);

            Utils.RegisterFunc(L, Utils.SETTER_IDX, "fixedTime", TSLuaFrameworkUIUIParticle_s_set_fixedTime);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "maxParticleCount", TSLuaFrameworkUIUIParticle_s_set_maxParticleCount);


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

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



            Utils.EndClassRegister(type, L, this);
        }
        public void __RegisterUnityEngineLayerMask(RealStatePtr L)
        {
            System.Type type = typeof(UnityEngine.LayerMask);
            Utils.BeginObjectRegister(type, L, this, 0, 0, 1, 1);



            Utils.RegisterFunc(L, Utils.GETTER_IDX, "value", UnityEngineLayerMask_g_get_value);

            Utils.RegisterFunc(L, Utils.SETTER_IDX, "value", UnityEngineLayerMask_s_set_value);


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

            Utils.BeginClassRegister(type, L, __CreateInstanceUnityEngineLayerMask, 4, 0, 0);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "LayerToName", UnityEngineLayerMask_m_LayerToName_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "NameToLayer", UnityEngineLayerMask_m_NameToLayer_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetMask", UnityEngineLayerMask_m_GetMask_xlua_st_);



            Utils.EndClassRegister(type, L, this);
        }
示例#4
0
        public void __RegisterTSLuaFrameworkToolUIEvent(RealStatePtr L)
        {
            System.Type type = typeof(TSLuaFramework.Tool.UIEvent);
            Utils.BeginObjectRegister(type, L, this, 0, 7, 0, 0);

            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Destroy", TSLuaFrameworkToolUIEvent_m_Destroy);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddPointerEvent", TSLuaFrameworkToolUIEvent_m_AddPointerEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddBaseEvent", TSLuaFrameworkToolUIEvent_m_AddBaseEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddAxisEvent", TSLuaFrameworkToolUIEvent_m_AddAxisEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemovePointerEvent", TSLuaFrameworkToolUIEvent_m_RemovePointerEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemoveBaseEvent", TSLuaFrameworkToolUIEvent_m_RemoveBaseEvent);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemoveAxisEvent", TSLuaFrameworkToolUIEvent_m_RemoveAxisEvent);



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

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



            Utils.EndClassRegister(type, L, this);
        }
示例#5
0
        public void __RegisterUnityEngineVector2(RealStatePtr L)
        {
            System.Type type = typeof(UnityEngine.Vector2);
            Utils.BeginObjectRegister(type, L, this, 6, 7, 5, 2);
            Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__add", UnityEngineVector2__AddMeta);
            Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__sub", UnityEngineVector2__SubMeta);
            Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__mul", UnityEngineVector2__MulMeta);
            Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__div", UnityEngineVector2__DivMeta);
            Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__unm", UnityEngineVector2__UnmMeta);
            Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__eq", UnityEngineVector2__EqMeta);

            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Set", UnityEngineVector2_m_Set);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Scale", UnityEngineVector2_m_Scale);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Normalize", UnityEngineVector2_m_Normalize);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "ToString", UnityEngineVector2_m_ToString);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetHashCode", UnityEngineVector2_m_GetHashCode);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "Equals", UnityEngineVector2_m_Equals);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "SqrMagnitude", UnityEngineVector2_m_SqrMagnitude);


            Utils.RegisterFunc(L, Utils.GETTER_IDX, "normalized", UnityEngineVector2_g_get_normalized);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "magnitude", UnityEngineVector2_g_get_magnitude);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "sqrMagnitude", UnityEngineVector2_g_get_sqrMagnitude);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "x", UnityEngineVector2_g_get_x);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "y", UnityEngineVector2_g_get_y);

            Utils.RegisterFunc(L, Utils.SETTER_IDX, "x", UnityEngineVector2_s_set_x);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "y", UnityEngineVector2_s_set_y);


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

            Utils.BeginClassRegister(type, L, __CreateInstanceUnityEngineVector2, 18, 8, 0);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Lerp", UnityEngineVector2_m_Lerp_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "LerpUnclamped", UnityEngineVector2_m_LerpUnclamped_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "MoveTowards", UnityEngineVector2_m_MoveTowards_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Scale", UnityEngineVector2_m_Scale_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Reflect", UnityEngineVector2_m_Reflect_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Perpendicular", UnityEngineVector2_m_Perpendicular_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Dot", UnityEngineVector2_m_Dot_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Angle", UnityEngineVector2_m_Angle_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SignedAngle", UnityEngineVector2_m_SignedAngle_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Distance", UnityEngineVector2_m_Distance_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ClampMagnitude", UnityEngineVector2_m_ClampMagnitude_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SqrMagnitude", UnityEngineVector2_m_SqrMagnitude_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Min", UnityEngineVector2_m_Min_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Max", UnityEngineVector2_m_Max_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SmoothDamp", UnityEngineVector2_m_SmoothDamp_xlua_st_);


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

            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "zero", UnityEngineVector2_g_get_zero);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "one", UnityEngineVector2_g_get_one);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "up", UnityEngineVector2_g_get_up);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "down", UnityEngineVector2_g_get_down);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "left", UnityEngineVector2_g_get_left);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "right", UnityEngineVector2_g_get_right);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "positiveInfinity", UnityEngineVector2_g_get_positiveInfinity);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "negativeInfinity", UnityEngineVector2_g_get_negativeInfinity);



            Utils.EndClassRegister(type, L, this);
        }
示例#6
0
        public void __RegisterUnityEngineInput(RealStatePtr L)
        {
            System.Type type = typeof(UnityEngine.Input);
            Utils.BeginObjectRegister(type, L, this, 0, 0, 0, 0);



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

            Utils.BeginClassRegister(type, L, __CreateInstanceUnityEngineInput, 16, 26, 6);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetAxis", UnityEngineInput_m_GetAxis_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetAxisRaw", UnityEngineInput_m_GetAxisRaw_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetButton", UnityEngineInput_m_GetButton_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetButtonDown", UnityEngineInput_m_GetButtonDown_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetButtonUp", UnityEngineInput_m_GetButtonUp_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetMouseButton", UnityEngineInput_m_GetMouseButton_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetMouseButtonDown", UnityEngineInput_m_GetMouseButtonDown_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetMouseButtonUp", UnityEngineInput_m_GetMouseButtonUp_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ResetInputAxes", UnityEngineInput_m_ResetInputAxes_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetJoystickNames", UnityEngineInput_m_GetJoystickNames_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetTouch", UnityEngineInput_m_GetTouch_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetAccelerationEvent", UnityEngineInput_m_GetAccelerationEvent_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetKey", UnityEngineInput_m_GetKey_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetKeyUp", UnityEngineInput_m_GetKeyUp_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetKeyDown", UnityEngineInput_m_GetKeyDown_xlua_st_);



            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "simulateMouseWithTouches", UnityEngineInput_g_get_simulateMouseWithTouches);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "anyKey", UnityEngineInput_g_get_anyKey);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "anyKeyDown", UnityEngineInput_g_get_anyKeyDown);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "inputString", UnityEngineInput_g_get_inputString);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "mousePosition", UnityEngineInput_g_get_mousePosition);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "mouseScrollDelta", UnityEngineInput_g_get_mouseScrollDelta);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "imeCompositionMode", UnityEngineInput_g_get_imeCompositionMode);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "compositionString", UnityEngineInput_g_get_compositionString);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "imeIsSelected", UnityEngineInput_g_get_imeIsSelected);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "compositionCursorPos", UnityEngineInput_g_get_compositionCursorPos);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "mousePresent", UnityEngineInput_g_get_mousePresent);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "touchCount", UnityEngineInput_g_get_touchCount);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "touchPressureSupported", UnityEngineInput_g_get_touchPressureSupported);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "stylusTouchSupported", UnityEngineInput_g_get_stylusTouchSupported);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "touchSupported", UnityEngineInput_g_get_touchSupported);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "multiTouchEnabled", UnityEngineInput_g_get_multiTouchEnabled);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "deviceOrientation", UnityEngineInput_g_get_deviceOrientation);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "acceleration", UnityEngineInput_g_get_acceleration);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "compensateSensors", UnityEngineInput_g_get_compensateSensors);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "accelerationEventCount", UnityEngineInput_g_get_accelerationEventCount);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "backButtonLeavesApp", UnityEngineInput_g_get_backButtonLeavesApp);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "location", UnityEngineInput_g_get_location);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "compass", UnityEngineInput_g_get_compass);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "gyro", UnityEngineInput_g_get_gyro);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "touches", UnityEngineInput_g_get_touches);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "accelerationEvents", UnityEngineInput_g_get_accelerationEvents);

            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "simulateMouseWithTouches", UnityEngineInput_s_set_simulateMouseWithTouches);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "imeCompositionMode", UnityEngineInput_s_set_imeCompositionMode);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "compositionCursorPos", UnityEngineInput_s_set_compositionCursorPos);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "multiTouchEnabled", UnityEngineInput_s_set_multiTouchEnabled);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "compensateSensors", UnityEngineInput_s_set_compensateSensors);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "backButtonLeavesApp", UnityEngineInput_s_set_backButtonLeavesApp);


            Utils.EndClassRegister(type, L, this);
        }
示例#7
0
        public void __RegisterUnityEngineUIText(RealStatePtr L)
        {
            System.Type type = typeof(UnityEngine.UI.Text);
            Utils.BeginObjectRegister(type, L, this, 0, 4, 24, 13);

            Utils.RegisterFunc(L, Utils.METHOD_IDX, "FontTextureChanged", UnityEngineUIText_m_FontTextureChanged);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetGenerationSettings", UnityEngineUIText_m_GetGenerationSettings);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "CalculateLayoutInputHorizontal", UnityEngineUIText_m_CalculateLayoutInputHorizontal);
            Utils.RegisterFunc(L, Utils.METHOD_IDX, "CalculateLayoutInputVertical", UnityEngineUIText_m_CalculateLayoutInputVertical);


            Utils.RegisterFunc(L, Utils.GETTER_IDX, "cachedTextGenerator", UnityEngineUIText_g_get_cachedTextGenerator);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "cachedTextGeneratorForLayout", UnityEngineUIText_g_get_cachedTextGeneratorForLayout);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "mainTexture", UnityEngineUIText_g_get_mainTexture);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "font", UnityEngineUIText_g_get_font);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "text", UnityEngineUIText_g_get_text);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "supportRichText", UnityEngineUIText_g_get_supportRichText);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "resizeTextForBestFit", UnityEngineUIText_g_get_resizeTextForBestFit);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "resizeTextMinSize", UnityEngineUIText_g_get_resizeTextMinSize);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "resizeTextMaxSize", UnityEngineUIText_g_get_resizeTextMaxSize);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "alignment", UnityEngineUIText_g_get_alignment);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "alignByGeometry", UnityEngineUIText_g_get_alignByGeometry);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "fontSize", UnityEngineUIText_g_get_fontSize);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "horizontalOverflow", UnityEngineUIText_g_get_horizontalOverflow);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "verticalOverflow", UnityEngineUIText_g_get_verticalOverflow);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "lineSpacing", UnityEngineUIText_g_get_lineSpacing);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "fontStyle", UnityEngineUIText_g_get_fontStyle);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "pixelsPerUnit", UnityEngineUIText_g_get_pixelsPerUnit);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "minWidth", UnityEngineUIText_g_get_minWidth);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "preferredWidth", UnityEngineUIText_g_get_preferredWidth);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "flexibleWidth", UnityEngineUIText_g_get_flexibleWidth);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "minHeight", UnityEngineUIText_g_get_minHeight);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "preferredHeight", UnityEngineUIText_g_get_preferredHeight);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "flexibleHeight", UnityEngineUIText_g_get_flexibleHeight);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "layoutPriority", UnityEngineUIText_g_get_layoutPriority);

            Utils.RegisterFunc(L, Utils.SETTER_IDX, "font", UnityEngineUIText_s_set_font);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "text", UnityEngineUIText_s_set_text);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "supportRichText", UnityEngineUIText_s_set_supportRichText);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "resizeTextForBestFit", UnityEngineUIText_s_set_resizeTextForBestFit);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "resizeTextMinSize", UnityEngineUIText_s_set_resizeTextMinSize);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "resizeTextMaxSize", UnityEngineUIText_s_set_resizeTextMaxSize);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "alignment", UnityEngineUIText_s_set_alignment);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "alignByGeometry", UnityEngineUIText_s_set_alignByGeometry);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "fontSize", UnityEngineUIText_s_set_fontSize);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "horizontalOverflow", UnityEngineUIText_s_set_horizontalOverflow);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "verticalOverflow", UnityEngineUIText_s_set_verticalOverflow);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "lineSpacing", UnityEngineUIText_s_set_lineSpacing);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "fontStyle", UnityEngineUIText_s_set_fontStyle);


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

            Utils.BeginClassRegister(type, L, __CreateInstanceUnityEngineUIText, 2, 0, 0);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetTextAnchorPivot", UnityEngineUIText_m_GetTextAnchorPivot_xlua_st_);



            Utils.EndClassRegister(type, L, this);
        }
        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);
        }
示例#9
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);
        }
示例#11
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);
        }
示例#12
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);
        }