Example #1
0
        public override void OnInspectorGUI(Terrain terrain, IOnInspectorGUI editContext)
        {
            base.OnInspectorGUI(terrain, editContext);

            m_BrushScatter = BrushUITools.PercentSlider(styles.brushScatter, m_BrushScatter, 0.0f, 1.0f);
        }
 public void OnInspectorGUI(Terrain terrain, IOnInspectorGUI editContext)
 {
     m_BrushStrength = BrushUITools.PercentSlider(styles.brushStrength, m_BrushStrength, kMinBrushStrength, 1.0f);
 }