-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated NoiseCrimeStudios Core Namespaces to match current projects.
Updated NoiseCrimeStudios namespaces for Editor scripts to match current version of Core package. Renamed NoiseCrimeStudioToolEnum.cs to UnityMenuEnumerations.cs
- Loading branch information
1 parent
c75fbd9
commit c78c424
Showing
16 changed files
with
115 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using System.IO; | ||
using NoiseCrimeStudios.Core.Utilities; | ||
|
||
namespace NoiseCrimeStudios.Core.IO | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
Assets/NoiseCrimeStudios/Editor/Internal/InternalDebugIMGUI.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Assets/NoiseCrimeStudios/Editor/Internal/InternalScreenShotting.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
77 changes: 0 additions & 77 deletions
77
Assets/NoiseCrimeStudios/Editor/NoiseCrimeStudioToolEnum.cs
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
Assets/NoiseCrimeStudios/Editor/Support/EditorGUI/EditorGUIClippedScrollView.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Assets/NoiseCrimeStudios/Editor/Support/EditorGUI/EditorGUIMethods.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Assets/NoiseCrimeStudios/Editor/Support/EditorGUI/EditorGUIStyles.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
// Was NoiseCrimeStudioToolEnum.cs | ||
|
||
/// <remarks> | ||
/// Setting a MenuItems priority prior to 2019.1 generally requires restarting Unity in most cases for it to be picked up. | ||
/// Deleting, compiling, then restoring a priority may be sufficient to force Unity to reflect changes. | ||
/// Unity Menu's and priorties link - https://blog.redbluegames.com/guide-to-extending-unity-editors-menus-b2de47a746db | ||
/// PreviousPriorty + 11 == divider between entries. | ||
/// As the menu path defines where item goes, the priorty can start at any value? | ||
/// </remarks> | ||
|
||
namespace NoiseCrimeStudios.Core.Editor | ||
{ | ||
public static class EditorMenuPaths | ||
{ | ||
public const string NoiseCrimeStudios = "Window/NoiseCrimeStudios/"; | ||
} | ||
|
||
public enum WindowMenuItemPriorty | ||
{ | ||
None = 0, | ||
|
||
// NoiseCrimeStudio Specific | ||
Inspectors = 400, // Window/NoiseCrimeStudios/Inspectors | ||
EditorSettings = 411, // Window/NoiseCrimeStudios/Settings 1105 | ||
EditorTools = 422, // Window/NoiseCrimeStudios/Tools 1110 | ||
Windows = 433, // Window/NoiseCrimeStudios/Windows 1130 | ||
Examples = 444, // Window/NoiseCrimeStudios/Examples | ||
Validations = 499 // Window/NoiseCrimeStudios/Validations | ||
} | ||
|
||
/// <summary>Enumeration for Asset Menu Items.</summary> | ||
public enum AssetMenuItemPriority | ||
{ | ||
Default = 0, | ||
|
||
// Create | ||
CreateScripts = 105, // Assets/Create | ||
|
||
// Asset | ||
Packages = 200, // Assets/ImportAssetPackage | ||
References = 201, // Assets/Reference Checker | ||
|
||
AssetInspectors = 202, | ||
|
||
AssetTools = 210, // Assets/Tools | ||
AssetInfo = 221, // Assets/Tools - Info | ||
|
||
Legacy = 1000 | ||
} | ||
|
||
/// <summary>Enumeration for Project Menu Items. Where Project is the specific Unity Project.</summary> | ||
public enum ProjectMenuItemPriority | ||
{ | ||
Default = 0, | ||
Build = 10, // Project/Build | ||
Tools = 50, // Project/Tools | ||
Validation = 200 // Project/Validation | ||
} | ||
|
||
/* Needs to be in Core! | ||
/// <summary>Enumeration for CreateAsset Menu Items.</summary> | ||
public enum CreateAssetMenuItemPriority | ||
{ | ||
// TODO For ScriptableObjects | ||
} | ||
*/ | ||
|
||
/// <summary>Enumeration for GameObject Menu Items.</summary> | ||
public enum GameObjectMenuPriority | ||
{ | ||
Default = -100, | ||
CreateBegin = -10, | ||
CreateEmpty = -1, | ||
Create3D = 0, | ||
Create2D = 1, | ||
CreateEnd = 11, | ||
|
||
ChildrenTop = 49, | ||
ChildrenEnd = 50, | ||
|
||
ParentEnd = 100, | ||
DefaultEnd = 500 | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Assets/NoiseCrimeStudiosToolbox/Editor/AssetStoreOrganizer/OrganizerPaths.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters