UnityEditor.EmissionModuleUI.Init C# (CSharp) Method

Init() protected method

protected Init ( ) : void
return void
        protected override void Init()
        {
            if (s_Texts == null)
            {
                s_Texts = new Texts();
            }
            if (this.m_BurstCount == null)
            {
                this.m_Time = new SerializedMinMaxCurve(this, s_Texts.rateOverTime, "rateOverTime");
                this.m_Time.m_AllowRandom = false;
                this.m_Distance = new SerializedMinMaxCurve(this, s_Texts.rateOverDistance, "rateOverDistance");
                this.m_Distance.m_AllowRandom = false;
                this.m_BurstTime[0] = base.GetProperty("time0");
                this.m_BurstTime[1] = base.GetProperty("time1");
                this.m_BurstTime[2] = base.GetProperty("time2");
                this.m_BurstTime[3] = base.GetProperty("time3");
                this.m_BurstParticleMinCount[0] = base.GetProperty("cnt0");
                this.m_BurstParticleMinCount[1] = base.GetProperty("cnt1");
                this.m_BurstParticleMinCount[2] = base.GetProperty("cnt2");
                this.m_BurstParticleMinCount[3] = base.GetProperty("cnt3");
                this.m_BurstParticleMaxCount[0] = base.GetProperty("cntmax0");
                this.m_BurstParticleMaxCount[1] = base.GetProperty("cntmax1");
                this.m_BurstParticleMaxCount[2] = base.GetProperty("cntmax2");
                this.m_BurstParticleMaxCount[3] = base.GetProperty("cntmax3");
                this.m_BurstCount = base.GetProperty("m_BurstCount");
            }
        }