@@ -35,14 +35,14 @@ public override void DrawValue(Rect window, float width)
3535 {
3636 if ( ! IsExpanded )
3737 {
38- if ( GUILayout . Button ( "v" , new GUILayoutOption [ ] { GUILayout . Width ( 25 ) } ) )
38+ if ( GUIUnstrip . Button ( "v" , new GUILayoutOption [ ] { GUILayout . Width ( 25 ) } ) )
3939 {
4040 IsExpanded = true ;
4141 }
4242 }
4343 else
4444 {
45- if ( GUILayout . Button ( "^" , new GUILayoutOption [ ] { GUILayout . Width ( 25 ) } ) )
45+ if ( GUIUnstrip . Button ( "^" , new GUILayoutOption [ ] { GUILayout . Width ( 25 ) } ) )
4646 {
4747 IsExpanded = false ;
4848 }
@@ -51,7 +51,7 @@ public override void DrawValue(Rect window, float width)
5151
5252 //var c = (Color)Value;
5353 //GUI.color = c;
54- GUILayout . Label ( $ "<color=#2df7b2>Color:</color> { ( ( Color ) Value ) . ToString ( ) } ", null ) ;
54+ GUIUnstrip . Label ( $ "<color=#2df7b2>Color:</color> { ( ( Color ) Value ) . ToString ( ) } ") ;
5555 //GUI.color = Color.white;
5656
5757 if ( CanWrite && IsExpanded )
@@ -62,32 +62,32 @@ public override void DrawValue(Rect window, float width)
6262
6363 GUIUnstrip . BeginHorizontal ( ) ;
6464 GUIUnstrip . Space ( whitespace ) ;
65- GUILayout . Label ( "R:" , new GUILayoutOption [ ] { GUILayout . Width ( 30 ) } ) ;
66- r = GUILayout . TextField ( r , new GUILayoutOption [ ] { GUILayout . Width ( 120 ) } ) ;
65+ GUIUnstrip . Label ( "R:" , new GUILayoutOption [ ] { GUILayout . Width ( 30 ) } ) ;
66+ r = GUIUnstrip . TextField ( r , new GUILayoutOption [ ] { GUILayout . Width ( 120 ) } ) ;
6767 GUIUnstrip . EndHorizontal ( ) ;
6868
6969 GUIUnstrip . BeginHorizontal ( ) ;
7070 GUIUnstrip . Space ( whitespace ) ;
71- GUILayout . Label ( "G:" , new GUILayoutOption [ ] { GUILayout . Width ( 30 ) } ) ;
72- g = GUILayout . TextField ( g , new GUILayoutOption [ ] { GUILayout . Width ( 120 ) } ) ;
71+ GUIUnstrip . Label ( "G:" , new GUILayoutOption [ ] { GUILayout . Width ( 30 ) } ) ;
72+ g = GUIUnstrip . TextField ( g , new GUILayoutOption [ ] { GUILayout . Width ( 120 ) } ) ;
7373 GUIUnstrip . EndHorizontal ( ) ;
7474
7575 GUIUnstrip . BeginHorizontal ( ) ;
7676 GUIUnstrip . Space ( whitespace ) ;
77- GUILayout . Label ( "B:" , new GUILayoutOption [ ] { GUILayout . Width ( 30 ) } ) ;
78- b = GUILayout . TextField ( b , new GUILayoutOption [ ] { GUILayout . Width ( 120 ) } ) ;
77+ GUIUnstrip . Label ( "B:" , new GUILayoutOption [ ] { GUILayout . Width ( 30 ) } ) ;
78+ b = GUIUnstrip . TextField ( b , new GUILayoutOption [ ] { GUILayout . Width ( 120 ) } ) ;
7979 GUIUnstrip . EndHorizontal ( ) ;
8080
8181 GUIUnstrip . BeginHorizontal ( ) ;
8282 GUIUnstrip . Space ( whitespace ) ;
83- GUILayout . Label ( "A:" , new GUILayoutOption [ ] { GUILayout . Width ( 30 ) } ) ;
84- a = GUILayout . TextField ( a , new GUILayoutOption [ ] { GUILayout . Width ( 120 ) } ) ;
83+ GUIUnstrip . Label ( "A:" , new GUILayoutOption [ ] { GUILayout . Width ( 30 ) } ) ;
84+ a = GUIUnstrip . TextField ( a , new GUILayoutOption [ ] { GUILayout . Width ( 120 ) } ) ;
8585 GUIUnstrip . EndHorizontal ( ) ;
8686
8787 // draw set value button
8888 GUIUnstrip . BeginHorizontal ( ) ;
8989 GUIUnstrip . Space ( whitespace ) ;
90- if ( GUILayout . Button ( "<color=lime>Apply</color>" , new GUILayoutOption [ ] { GUILayout . Width ( 155 ) } ) )
90+ if ( GUIUnstrip . Button ( "<color=lime>Apply</color>" , new GUILayoutOption [ ] { GUILayout . Width ( 155 ) } ) )
9191 {
9292 SetValueFromInput ( ) ;
9393 }
0 commit comments