UnityEditor.ShapeModuleUI.ShapeModuleUI C# (CSharp) Метод

ShapeModuleUI() публичный Метод

public ShapeModuleUI ( ParticleSystemUI owner, SerializedObject o, string displayName ) : System
owner ParticleSystemUI
o SerializedObject
displayName string
Результат System
        public ShapeModuleUI(ParticleSystemUI owner, SerializedObject o, string displayName) : base(owner, o, "ShapeModule", displayName, ModuleUI.VisibilityState.VisibleAndFolded)
        {
            this.m_BoxEditor = new BoxEditor(true, s_BoxHash);
            this.m_GuiNames = new string[] { "Sphere", "Hemisphere", "Cone", "Box", "Mesh", "Mesh Renderer", "Skinned Mesh Renderer", "Circle", "Edge" };
            this.m_GuiTypes = new ShapeTypes[] { ShapeTypes.Sphere };
            this.m_TypeToGuiTypeIndex = new int[] { 
                0, 0, 1, 1, 2, 3, 4, 2, 2, 2, 7, 7, 8, 5, 6, 3,
                3
            };
            this.boxShapes = new ShapeTypes[] { ShapeTypes.Box };
            this.coneShapes = new ShapeTypes[] { ShapeTypes.Cone };
            this.shellShapes = new ShapeTypes[] { ShapeTypes.BoxShell };
            base.m_ToolTip = "Shape of the emitter volume, which controls where particles are emitted and their initial direction.";
        }