Exemplo n.º 1
0
    public override void OnInspectorGUI()
    {
        if (DrawDefaultInspector())
        {
            gridWithParams.BuildGrid();
        }

        DrawSettingsEditor(gridWithParams.parameters, gridWithParams.BuildGrid, true, ref editor);
    }
 void WidthSliderChanged(float newValue)
 {
     gridWithParams.parameters.width = (int)newValue;
     gridWithParams.BuildGrid();
 }