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

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

public OnInspectorGUI ( System.Action onValueChanged ) : void
onValueChanged System.Action
Результат void
        public void OnInspectorGUI(Action onValueChanged)
        {
            // blend mode.
            var newBlendMode = (BlendMode)EditorGUILayout.Popup("Rendering Mode", (int)blendMode, Enum.GetNames(typeof(BlendMode)), new GUILayoutOption[0]);
            if (newBlendMode != blendMode) {
                this.blendMode = newBlendMode;
                onValueChanged();
            }
        }