UnityEditor.ShapeModuleUI.Init C# (CSharp) Method

Init() protected method

protected Init ( ) : void
return void
        protected override void Init()
        {
            if (this.m_Type == null)
            {
                if (s_Texts == null)
                {
                    s_Texts = new Texts();
                }
                this.m_Type = base.GetProperty("type");
                this.m_Radius = base.GetProperty("radius");
                this.m_Angle = base.GetProperty("angle");
                this.m_Length = base.GetProperty("length");
                this.m_BoxX = base.GetProperty("boxX");
                this.m_BoxY = base.GetProperty("boxY");
                this.m_BoxZ = base.GetProperty("boxZ");
                this.m_Arc = base.GetProperty("arc");
                this.m_PlacementMode = base.GetProperty("placementMode");
                this.m_Mesh = base.GetProperty("m_Mesh");
                this.m_MeshRenderer = base.GetProperty("m_MeshRenderer");
                this.m_SkinnedMeshRenderer = base.GetProperty("m_SkinnedMeshRenderer");
                this.m_MeshMaterialIndex = base.GetProperty("m_MeshMaterialIndex");
                this.m_UseMeshMaterialIndex = base.GetProperty("m_UseMeshMaterialIndex");
                this.m_UseMeshColors = base.GetProperty("m_UseMeshColors");
                this.m_MeshNormalOffset = base.GetProperty("m_MeshNormalOffset");
                this.m_MeshScale = base.GetProperty("m_MeshScale");
                this.m_RandomDirectionAmount = base.GetProperty("randomDirectionAmount");
                this.m_SphericalDirectionAmount = base.GetProperty("sphericalDirectionAmount");
                this.m_AlignToDirection = base.GetProperty("alignToDirection");
                this.m_Material = EditorGUIUtility.GetBuiltinExtraResource(typeof(Material), "Default-Material.mat") as Material;
                this.m_BoxEditor.SetAlwaysDisplayHandles(true);
            }
        }