UnityEditor.TriggerModuleUI.Init C# (CSharp) Method

Init() protected method

protected Init ( ) : void
return void
        protected override void Init()
        {
            if (s_Texts == null)
            {
                s_Texts = new Texts();
            }
            List<SerializedProperty> list = new List<SerializedProperty>();
            for (int i = 0; i < this.m_CollisionShapes.Length; i++)
            {
                this.m_CollisionShapes[i] = base.GetProperty("collisionShape" + i);
                if ((i == 0) || (this.m_CollisionShapes[i].objectReferenceValue != null))
                {
                    list.Add(this.m_CollisionShapes[i]);
                }
            }
            this.m_ShownCollisionShapes = list.ToArray();
            this.m_Inside = base.GetProperty("inside");
            this.m_Outside = base.GetProperty("outside");
            this.m_Enter = base.GetProperty("enter");
            this.m_Exit = base.GetProperty("exit");
            this.m_RadiusScale = base.GetProperty("radiusScale");
            s_VisualizeBounds = EditorPrefs.GetBool("VisualizeTriggerBounds", false);
        }