@@ -29,7 +29,7 @@ public static void CreateNote(MenuCommand menuCommand)
2929 }
3030
3131 [ DrawGizmo ( GizmoType . Selected | GizmoType . NonSelected | GizmoType . Pickable ) ]
32- public static void DrawLazyNote ( LazyNote note , GizmoType gizmoType )
32+ private static void DrawLazyNote ( LazyNote note , GizmoType gizmoType )
3333 {
3434 if ( note . DrawIcon )
3535 {
@@ -39,21 +39,20 @@ public static void DrawLazyNote(LazyNote note, GizmoType gizmoType)
3939 string sceneNote = GetSceneNote ( note . Text , note . DrawIcon ) ;
4040 Handles . Label ( note . transform . position , sceneNote , EditorStyles . whiteBoldLabel ) ;
4141 }
42-
4342 [ DrawGizmo ( GizmoType . Selected | GizmoType . NonSelected | GizmoType . Pickable ) ]
44- public static void DrawNote ( Note note , GizmoType gizmoType )
43+ private static void DrawNote ( Note note , GizmoType gizmoType )
4544 {
4645 if ( note . DrawIcon )
4746 {
48- Gizmos . DrawIcon ( note . transform . position , GetGizmosPath ( ) + "/Runtime/Note Author Icon.png" , false , note . Author . color ) ;
49- Gizmos . DrawIcon ( note . transform . position , GetGizmosPath ( ) + "/Runtime/Note Type Icon.png" , false , note . Type . color ) ;
47+ Gizmos . DrawIcon ( note . transform . position , NoteUtility . GetGizmosPath ( ) + "/Runtime/Note Author Icon.png" , false , note . Author . color ) ;
48+ Gizmos . DrawIcon ( note . transform . position , NoteUtility . GetGizmosPath ( ) + "/Runtime/Note Type Icon.png" , false , note . Type . color ) ;
5049 }
5150
52- string sceneNote = GetSceneNote ( note . Text , note . DrawIcon ) ;
51+ string sceneNote = NoteUtility . GetSceneNote ( note . Text , note . DrawIcon ) ;
5352 Handles . Label ( note . transform . position , sceneNote , EditorStyles . whiteBoldLabel ) ;
5453 }
5554
56- private static string GetGizmosPath ( )
55+ internal static string GetGizmosPath ( )
5756 {
5857 if ( string . IsNullOrEmpty ( _gizmosPath ) )
5958 {
@@ -68,7 +67,7 @@ private static string GetGizmosPath()
6867 }
6968 return _gizmosPath ;
7069 }
71- private static string GetSceneNote ( string fullNote , bool isNeedSpacing )
70+ internal static string GetSceneNote ( string fullNote , bool isNeedSpacing )
7271 {
7372 int index = fullNote . IndexOf ( NOTE_SEPARATOR ) ;
7473 if ( index < 0 ) return string . Empty ;
0 commit comments