@@ -26,15 +26,15 @@ private void Reset()
2626 hideFlags = HideFlags . DontSaveInBuild ;
2727 }
2828
29- static Dictionary < UIStyleMarkup . StyleClass , FieldInfo > GetStyleFieldMap ( )
29+ private static Dictionary < UIStyleMarkup . StyleClass , FieldInfo > GetStyleFieldMap ( )
3030 {
3131 Dictionary < UIStyleMarkup . StyleClass , FieldInfo > fieldLookup = new Dictionary < UIStyleMarkup . StyleClass , FieldInfo > ( ) ;
3232
3333 foreach ( FieldInfo field in typeof ( UIStyle ) . GetFields ( BindingFlags . Public | BindingFlags . Instance ) )
3434 {
3535 if ( field . FieldType == typeof ( Color ) )
3636 {
37- var markupAttr = field . GetCustomAttribute < StyleMarkupLinkAttribute > ( ) ;
37+ StyleMarkupLinkAttribute markupAttr = field . GetCustomAttribute < StyleMarkupLinkAttribute > ( ) ;
3838
3939 if ( markupAttr != null )
4040 {
@@ -47,7 +47,7 @@ private void Reset()
4747 }
4848
4949#if UNITY_EDITOR
50- Color GetColor ( FieldInfo field )
50+ private Color GetColor ( FieldInfo field )
5151 {
5252 return ( Color ) field . GetValue ( uiStyle ) ;
5353 }
@@ -140,7 +140,7 @@ public void ApplyStyle()
140140 }
141141 }
142142
143- void RecordObject ( Component comp )
143+ private static void RecordObject ( Object comp )
144144 {
145145 if ( PrefabUtility . IsPartOfPrefabInstance ( comp ) )
146146 PrefabUtility . RecordPrefabInstancePropertyModifications ( comp ) ;
@@ -152,7 +152,7 @@ void RecordObject(Component comp)
152152 [ CustomEditor ( typeof ( UIStyler ) ) ]
153153 internal class UIStylerEditor : Editor
154154 {
155- SerializedProperty colorStyleProperty ;
155+ private SerializedProperty colorStyleProperty ;
156156
157157 private void OnEnable ( )
158158 {
0 commit comments