AssetBundleGraph.Modifiers.ShaderModifier.OnInspectorGUI C# (CSharp) Метод

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

public OnInspectorGUI ( System.Action onValueChanged ) : void
onValueChanged System.Action
Результат void
        public void OnInspectorGUI(Action onValueChanged)
        {
            using (new GUILayout.HorizontalScope()) {
                GUILayout.Label("Maximum LOD");

                var changedVal = (int)EditorGUILayout.Slider(this.maximumLOD, 0, 1000);
                if (changedVal != this.maximumLOD) {
                    this.maximumLOD = changedVal;
                    onValueChanged();
                }
            }
        }