UnityEditor.CollisionModuleUI.Init C# (CSharp) Method

Init() protected method

protected Init ( ) : void
return void
        protected override void Init()
        {
            if (this.m_Type == null)
            {
                this.m_Type = base.GetProperty("type");
                List<SerializedProperty> list = new List<SerializedProperty>();
                for (int i = 0; i < this.m_Planes.Length; i++)
                {
                    this.m_Planes[i] = base.GetProperty("plane" + i);
                    if ((i == 0) || (this.m_Planes[i].objectReferenceValue != null))
                    {
                        list.Add(this.m_Planes[i]);
                    }
                }
                this.m_ShownPlanes = list.ToArray();
                this.m_Dampen = base.GetProperty("dampen");
                this.m_Bounce = base.GetProperty("bounce");
                this.m_LifetimeLossOnCollision = base.GetProperty("energyLossOnCollision");
                this.m_MinKillSpeed = base.GetProperty("minKillSpeed");
                this.m_ParticleRadius = base.GetProperty("particleRadius");
                this.m_PlaneVisualizationType = (PlaneVizType) EditorPrefs.GetInt("PlaneColisionVizType", 1);
                this.m_ScaleGrid = EditorPrefs.GetFloat("ScalePlaneColision", 1f);
                this.m_CollidesWith = base.GetProperty("collidesWith");
                this.m_Quality = base.GetProperty("quality");
                this.m_VoxelSize = base.GetProperty("voxelSize");
                this.m_CollisionMessages = base.GetProperty("collisionMessages");
                this.SyncVisualization();
            }
        }