UnityEditor.TrailModuleUI.Init C# (CSharp) Method

Init() protected method

protected Init ( ) : void
return void
        protected override void Init()
        {
            if (this.m_Ratio == null)
            {
                if (s_Texts == null)
                {
                    s_Texts = new Texts();
                }
                this.m_Ratio = base.GetProperty("ratio");
                this.m_Lifetime = new SerializedMinMaxCurve(this, s_Texts.lifetime, "lifetime");
                this.m_MinVertexDistance = base.GetProperty("minVertexDistance");
                this.m_TextureMode = base.GetProperty("textureMode");
                this.m_WorldSpace = base.GetProperty("worldSpace");
                this.m_DieWithParticles = base.GetProperty("dieWithParticles");
                this.m_SizeAffectsWidth = base.GetProperty("sizeAffectsWidth");
                this.m_SizeAffectsLifetime = base.GetProperty("sizeAffectsLifetime");
                this.m_InheritParticleColor = base.GetProperty("inheritParticleColor");
                this.m_ColorOverLifetime = new SerializedMinMaxGradient(this, "colorOverLifetime");
                this.m_WidthOverTrail = new SerializedMinMaxCurve(this, s_Texts.widthOverTrail, "widthOverTrail");
                this.m_ColorOverTrail = new SerializedMinMaxGradient(this, "colorOverTrail");
            }
        }