UnityEditor.Timeline.Init C# (CSharp) Method

Init() private method

private Init ( ) : void
return void
        private void Init()
        {
            if (this.id == -1)
            {
                this.id = GUIUtility.GetPermanentControlID();
            }
            if (this.m_TimeArea == null)
            {
                this.m_TimeArea = new TimeArea(false);
                this.m_TimeArea.hRangeLocked = false;
                this.m_TimeArea.vRangeLocked = true;
                this.m_TimeArea.hSlider = false;
                this.m_TimeArea.vSlider = false;
                this.m_TimeArea.margin = 10f;
                this.m_TimeArea.scaleWithWindow = true;
                this.m_TimeArea.hTicks.SetTickModulosForFrameRate(30f);
            }
            if (this.styles == null)
            {
                this.styles = new Styles();
            }
        }