Skip to content

Commit 1468eca

Browse files
committed
simple refactoring
1 parent 0c17805 commit 1468eca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Editor/NoteUtility.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ private static void DrawNote(Note note, GizmoType gizmoType)
4444
{
4545
if (note.DrawIcon)
4646
{
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);
47+
Gizmos.DrawIcon(note.transform.position, GetGizmosPath() + "/Runtime/Note Author Icon.png", false, note.Author.color);
48+
Gizmos.DrawIcon(note.transform.position, GetGizmosPath() + "/Runtime/Note Type Icon.png", false, note.Type.color);
4949
}
5050

51-
string sceneNote = NoteUtility.GetSceneNote(note.Text, note.DrawIcon);
51+
string sceneNote = GetSceneNote(note.Text, note.DrawIcon);
5252
Handles.Label(note.transform.position, sceneNote, EditorStyles.whiteBoldLabel);
5353
}
5454

0 commit comments

Comments
 (0)