UnityEditor.NoiseModuleUI.Init C# (CSharp) Method

Init() protected method

protected Init ( ) : void
return void
        protected override void Init()
        {
            if (this.m_StrengthX == null)
            {
                if (s_Texts == null)
                {
                    s_Texts = new Texts();
                }
                this.m_StrengthX = new SerializedMinMaxCurve(this, s_Texts.x, "strength", ModuleUI.kUseSignedRange);
                this.m_StrengthY = new SerializedMinMaxCurve(this, s_Texts.y, "strengthY", ModuleUI.kUseSignedRange);
                this.m_StrengthZ = new SerializedMinMaxCurve(this, s_Texts.z, "strengthZ", ModuleUI.kUseSignedRange);
                this.m_SeparateAxes = base.GetProperty("separateAxes");
                this.m_Damping = base.GetProperty("damping");
                this.m_Frequency = base.GetProperty("frequency");
                this.m_Octaves = base.GetProperty("octaves");
                this.m_OctaveMultiplier = base.GetProperty("octaveMultiplier");
                this.m_OctaveScale = base.GetProperty("octaveScale");
                this.m_Quality = base.GetProperty("quality");
                this.m_ScrollSpeed = new SerializedMinMaxCurve(this, s_Texts.scrollSpeed, "scrollSpeed", ModuleUI.kUseSignedRange);
                this.m_ScrollSpeed.m_AllowRandom = false;
                this.m_RemapX = new SerializedMinMaxCurve(this, s_Texts.x, "remap", ModuleUI.kUseSignedRange);
                this.m_RemapY = new SerializedMinMaxCurve(this, s_Texts.y, "remapY", ModuleUI.kUseSignedRange);
                this.m_RemapZ = new SerializedMinMaxCurve(this, s_Texts.z, "remapZ", ModuleUI.kUseSignedRange);
                this.m_RemapX.m_AllowRandom = false;
                this.m_RemapY.m_AllowRandom = false;
                this.m_RemapZ.m_AllowRandom = false;
                this.m_RemapX.m_AllowConstant = false;
                this.m_RemapY.m_AllowConstant = false;
                this.m_RemapZ.m_AllowConstant = false;
                this.m_RemapEnabled = base.GetProperty("remapEnabled");
                if (s_PreviewTexture == null)
                {
                    s_PreviewTexture = new Texture2D(0x60, 0x60, TextureFormat.RGBA32, false, true);
                    s_PreviewTexture.name = "ParticleNoisePreview";
                    s_PreviewTexture.filterMode = FilterMode.Bilinear;
                    s_PreviewTexture.hideFlags = HideFlags.HideAndDontSave;
                    s_Texts.previewTexture.image = s_PreviewTexture;
                }
                s_PreviewTextureDirty = true;
                this.previewTextureStyle = new GUIStyle(ParticleSystemStyles.Get().label);
                this.previewTextureStyle.alignment = TextAnchor.LowerCenter;
                this.previewTextureStyle.imagePosition = ImagePosition.ImageAbove;
            }
        }