Update tools window #3

Merged
BitterSmile merged 2 commits from ToolsWindowUpdate into main 2024-02-12 19:04:38 +01:00
Owner
No description provided.
BitterSmile added 1 commit 2023-08-11 19:45:41 +02:00
Niikelion requested changes 2023-09-03 02:21:36 +02:00
@ -64,2 +71,2 @@
string s = item;
menu.AddItem(new GUIContent(s.Remove(0, path.Length + 1).Remove(s.Length - path.Length - 7 ,6)), false, () => {
string s = fileInfo[i];
menu.AddItem(new GUIContent(s.Remove(0, basePath.Length + 1).Remove(s.Length - basePath.Length - 7 ,6).Replace('\\', '/')), false, () => {
Owner

Why -7 and 6? I see a lot of magical numbers

Why `-7` and `6`? I see a lot of magical numbers
Author
Owner

Is it clear now?

Is it clear now?
BitterSmile added 1 commit 2023-09-08 21:57:26 +02:00
BitterSmile merged commit 46d192ea27 into main 2024-02-12 19:04:38 +01:00
BitterSmile deleted branch ToolsWindowUpdate 2024-02-12 19:04:38 +01:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: negames/Neg_Utils#3
No description provided.