public override void DrawAdvancedOptions(Material material)
        {
            materialEditor.ShaderProperty(particleProps.flipbookMode, ParticleGUI.Styles.flipbookMode);
            ParticleGUI.FadingOptions(material, materialEditor, particleProps);
            ParticleGUI.DoVertexStreamsArea(material, m_RenderersUsingThisMaterial, true);

            DrawQueueOffsetField();
        }
示例#2
0
 public override void DrawAdvancedOptions(Material material)
 {
     EditorGUI.BeginChangeCheck();
     {
         materialEditor.ShaderProperty(particleProps.flipbookMode, ParticleGUI.Styles.flipbookMode);
         ParticleGUI.FadingOptions(material, materialEditor, particleProps);
         ParticleGUI.DoVertexStreamsArea(material, m_RenderersUsingThisMaterial);
     }
     base.DrawAdvancedOptions(material);
 }
        public override void DrawAdvancedOptions(Material material)
        {
            EditorGUI.BeginChangeCheck();
            {
                materialEditor.ShaderProperty(particleProps.flipbookMode, ParticleGUI.Styles.flipbookMode);
                ParticleGUI.FadingOptions(material, materialEditor, particleProps);
                ParticleGUI.DoVertexStreamsArea(material, m_RenderersUsingThisMaterial, true);

                if (EditorGUI.EndChangeCheck())
                {
                    MaterialChanged(material);
                }
            }

            DrawQueueOffsetField();
        }