UnityEditor.ColorPicker.Show C# (CSharp) Method

Show() public static method

public static Show ( GUIView viewToUpdate, Color col ) : void
viewToUpdate GUIView
col Color
return void
        public static void Show(GUIView viewToUpdate, Color col)
        {
            Show(viewToUpdate, col, true, false, null);
        }

Same methods

ColorPicker::Show ( GUIView viewToUpdate, Color col, bool showAlpha, bool hdr, ColorPickerHDRConfig hdrConfig ) : void

Usage Example

示例#1
0
 private void OnEditButtonClicked(string libraryPath)
 {
     ColorPicker.Show(GUIView.current, Color.white, true, false);
     ColorPicker.instance.currentPresetLibrary = libraryPath;
 }
All Usage Examples Of UnityEditor.ColorPicker::Show