0.7.0: Renamed entire namespace from Game.* to Module.*
This commit is contained in:
parent
63f2101917
commit
80f775e279
|
|
@ -1,4 +1,4 @@
|
|||
namespace Game.NavigationTool.Editor.Favorite
|
||||
namespace Module.NavigationTool.Editor.Favorite
|
||||
{
|
||||
public enum EManipulatingState : byte
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ using UnityEditor;
|
|||
using UnityEngine;
|
||||
using Object = UnityEngine.Object;
|
||||
|
||||
namespace Game.NavigationTool.Editor.Favorite
|
||||
namespace Module.NavigationTool.Editor.Favorite
|
||||
{
|
||||
[Serializable]
|
||||
internal sealed class Favorites : ISerializationCallbackReceiver
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
using UnityEditorInternal;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Game.NavigationTool.Editor.Favorite
|
||||
namespace Module.NavigationTool.Editor.Favorite
|
||||
{
|
||||
internal static class FavoritesGUIUtility
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
using UnityEditor;
|
||||
|
||||
namespace Game.NavigationTool.Editor.Favorite
|
||||
namespace Module.NavigationTool.Editor.Favorite
|
||||
{
|
||||
internal sealed class FavoritesPostProcess : AssetPostprocessor
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System.Collections.Generic;
|
||||
using UnityEditor;
|
||||
|
||||
namespace Game.NavigationTool.Editor.Favorite
|
||||
namespace Module.NavigationTool.Editor.Favorite
|
||||
{
|
||||
internal static class FavoritesUtility
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Game.NavigationTool.Editor.Favorite
|
||||
namespace Module.NavigationTool.Editor.Favorite
|
||||
{
|
||||
internal sealed class EditorFavoritesPopupWindowAddFolder : PopupWindowContent
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Game.NavigationTool.Editor.Favorite
|
||||
namespace Module.NavigationTool.Editor.Favorite
|
||||
{
|
||||
internal sealed class EditorFavoritesPopupWindowContextMenu : PopupWindowContent
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Game.NavigationTool.Editor.Favorite
|
||||
namespace Module.NavigationTool.Editor.Favorite
|
||||
{
|
||||
internal sealed class EditorFavoritesPopupWindowRenameFolder : PopupWindowContent
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Game.NavigationTool.Editor.Favorite
|
||||
namespace Module.NavigationTool.Editor.Favorite
|
||||
{
|
||||
internal sealed class EditorFavoritesWindow : EditorWindow
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
using UnityEngine;
|
||||
|
||||
namespace Game.NavigationTool.Editor.Favorite
|
||||
namespace Module.NavigationTool.Editor.Favorite
|
||||
{
|
||||
internal sealed class Styles
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
using UnityEngine;
|
||||
|
||||
namespace Game.NavigationTool.Editor.Favorite
|
||||
namespace Module.NavigationTool.Editor.Favorite
|
||||
{
|
||||
internal abstract class AbstractEditorFavoritesView
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Game.NavigationTool.Editor.Favorite
|
||||
namespace Module.NavigationTool.Editor.Favorite
|
||||
{
|
||||
[Serializable]
|
||||
internal sealed class EditorFavoritesViewSearchList : AbstractEditorFavoritesView
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Game.NavigationTool.Editor.Favorite
|
||||
namespace Module.NavigationTool.Editor.Favorite
|
||||
{
|
||||
[Serializable]
|
||||
internal sealed class EditorFavoritesViewTools : AbstractEditorFavoritesView
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Game.NavigationTool.Editor.Favorite
|
||||
namespace Module.NavigationTool.Editor.Favorite
|
||||
{
|
||||
[Serializable]
|
||||
internal sealed class EditorFavoritesViewTreeList : AbstractEditorFavoritesView
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
using UnityEditorInternal;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Game.NavigationTool.Editor.History
|
||||
namespace Module.NavigationTool.Editor.History
|
||||
{
|
||||
internal static class HistoryGUIUtility
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ using UnityEditor;
|
|||
using UnityEngine;
|
||||
using Object = UnityEngine.Object;
|
||||
|
||||
namespace Game.NavigationTool.Editor.History
|
||||
namespace Module.NavigationTool.Editor.History
|
||||
{
|
||||
[Serializable]
|
||||
internal sealed class HistoryList
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
using UnityEditor;
|
||||
|
||||
namespace Game.NavigationTool.Editor.History
|
||||
namespace Module.NavigationTool.Editor.History
|
||||
{
|
||||
internal sealed class HistoryListPostProcess : AssetPostprocessor
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace Game.NavigationTool.Editor.History
|
||||
namespace Module.NavigationTool.Editor.History
|
||||
{
|
||||
internal static class HistoryUtility
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ using UnityEditor;
|
|||
using UnityEngine;
|
||||
using Object = UnityEngine.Object;
|
||||
|
||||
namespace Game.NavigationTool.Editor.History
|
||||
namespace Module.NavigationTool.Editor.History
|
||||
{
|
||||
internal sealed class EditorHistoryWindow : EditorWindow
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
using UnityEngine;
|
||||
|
||||
namespace Game.NavigationTool.Editor.History
|
||||
namespace Module.NavigationTool.Editor.History
|
||||
{
|
||||
internal sealed class Styles
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
using UnityEngine;
|
||||
|
||||
namespace Game.NavigationTool.Editor.History
|
||||
namespace Module.NavigationTool.Editor.History
|
||||
{
|
||||
internal abstract class AbstractEditorHistoryView
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Game.NavigationTool.Editor.History
|
||||
namespace Module.NavigationTool.Editor.History
|
||||
{
|
||||
[Serializable]
|
||||
internal sealed class EditorHistoryViewSearchList : AbstractEditorHistoryView
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Game.NavigationTool.Editor.History
|
||||
namespace Module.NavigationTool.Editor.History
|
||||
{
|
||||
[Serializable]
|
||||
internal sealed class EditorHistoryViewTools : AbstractEditorHistoryView
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using Game.NavigationTool.Editor.Toolbar;
|
||||
using Module.NavigationTool.Editor.Toolbar;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Game.NavigationTool.Editor
|
||||
namespace Module.NavigationTool.Editor
|
||||
{
|
||||
public abstract class AbstractToolbarDrawer
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace Game.NavigationTool.Editor
|
||||
namespace Module.NavigationTool.Editor
|
||||
{
|
||||
public enum EToolbarPlacement : byte
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
using Game.NavigationTool.Editor.Toolbar;
|
||||
using Module.NavigationTool.Editor.Toolbar;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UIElements;
|
||||
|
||||
namespace Game.NavigationTool.Editor
|
||||
namespace Module.NavigationTool.Editor
|
||||
{
|
||||
[InitializeOnLoad]
|
||||
internal static class ToolbarDrawer
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ using UnityEditor.SceneManagement;
|
|||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
namespace Game.NavigationTool.Editor.Tools
|
||||
namespace Module.NavigationTool.Editor.Tools
|
||||
{
|
||||
[UsedImplicitly]
|
||||
internal sealed class ToolScenePicker : AbstractToolbarDrawer
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
using Game.NavigationTool.Editor.Tools;
|
||||
using Module.NavigationTool.Editor.Tools;
|
||||
using UnityEditor;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
namespace Game.NavigationTool.Editor.Toolbar
|
||||
namespace Module.NavigationTool.Editor.Toolbar
|
||||
{
|
||||
[InitializeOnLoad]
|
||||
internal static class ToolScenePickerEditorStateChanged
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
using System.Linq;
|
||||
using Game.NavigationTool.Editor.Tools;
|
||||
using Module.NavigationTool.Editor.Tools;
|
||||
using UnityEditor;
|
||||
|
||||
namespace Game.NavigationTool.Editor.Toolbar
|
||||
namespace Module.NavigationTool.Editor.Toolbar
|
||||
{
|
||||
internal sealed class ToolScenePickerPostProcess : AssetPostprocessor
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ using UnityEditorInternal;
|
|||
using UnityEngine;
|
||||
using UTools = UnityEditor.Tools;
|
||||
|
||||
namespace Game.NavigationTool.Editor.Tools
|
||||
namespace Module.NavigationTool.Editor.Tools
|
||||
{
|
||||
[UsedImplicitly]
|
||||
internal sealed class ToolUICanvasPicker : AbstractToolbarDrawer
|
||||
|
|
@ -57,7 +57,13 @@ namespace Game.NavigationTool.Editor.Tools
|
|||
|
||||
protected override void Draw(Rect rect)
|
||||
{
|
||||
// Note: To fix an issue, where instantiated canvases wouldn't be detected, due to no events for canvas additions/removals exist in Unity API (at the moment)
|
||||
if (Event.current.type == EventType.MouseDown)
|
||||
{
|
||||
IS_DIRTY = true;
|
||||
Initialize();
|
||||
}
|
||||
|
||||
int temp = EditorGUI.Popup(rect, 0, OPTIONS, styles.popup);
|
||||
|
||||
if (temp != 0 && OPTIONS.Length != 1)
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
using Game.NavigationTool.Editor.Tools;
|
||||
using Module.NavigationTool.Editor.Tools;
|
||||
using UnityEditor;
|
||||
using UnityEditor.Experimental.SceneManagement;
|
||||
using UnityEditor.SceneManagement;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
namespace Game.NavigationTool.Editor.Toolbar
|
||||
namespace Module.NavigationTool.Editor.Toolbar
|
||||
{
|
||||
[InitializeOnLoad]
|
||||
internal static class ToolUICanvasPickerPostProcess
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ using UnityEditor;
|
|||
using UnityEngine;
|
||||
using UTools = UnityEditor.Tools;
|
||||
|
||||
namespace Game.NavigationTool.Editor.Tools
|
||||
namespace Module.NavigationTool.Editor.Tools
|
||||
{
|
||||
[UsedImplicitly]
|
||||
internal sealed class ToolUILayerToggle : AbstractToolbarDrawer
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
using UnityEngine;
|
||||
|
||||
namespace Game.NavigationTool.Editor.Toolbar
|
||||
namespace Module.NavigationTool.Editor.Toolbar
|
||||
{
|
||||
public sealed class Styles
|
||||
{
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ using UnityEngine.UIElements;
|
|||
using UnityEngine.Experimental.UIElements;
|
||||
#endif
|
||||
|
||||
namespace Game.NavigationTool.Editor.Toolbar
|
||||
namespace Module.NavigationTool.Editor.Toolbar
|
||||
{
|
||||
internal static class ToolbarUtility
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "com.module.navigationtool",
|
||||
"version": "0.6.6",
|
||||
"version": "0.7.0",
|
||||
"displayName": "Module.NavigationTool",
|
||||
"description": "Support for navigation tools, like favorites, history and toolbars",
|
||||
"unity": "2019.2",
|
||||
|
|
|
|||
Loading…
Reference in a new issue