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
|
public enum EManipulatingState : byte
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using Object = UnityEngine.Object;
|
using Object = UnityEngine.Object;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.Favorite
|
namespace Module.NavigationTool.Editor.Favorite
|
||||||
{
|
{
|
||||||
[Serializable]
|
[Serializable]
|
||||||
internal sealed class Favorites : ISerializationCallbackReceiver
|
internal sealed class Favorites : ISerializationCallbackReceiver
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
using UnityEditorInternal;
|
using UnityEditorInternal;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.Favorite
|
namespace Module.NavigationTool.Editor.Favorite
|
||||||
{
|
{
|
||||||
internal static class FavoritesGUIUtility
|
internal static class FavoritesGUIUtility
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.Favorite
|
namespace Module.NavigationTool.Editor.Favorite
|
||||||
{
|
{
|
||||||
internal sealed class FavoritesPostProcess : AssetPostprocessor
|
internal sealed class FavoritesPostProcess : AssetPostprocessor
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.Favorite
|
namespace Module.NavigationTool.Editor.Favorite
|
||||||
{
|
{
|
||||||
internal static class FavoritesUtility
|
internal static class FavoritesUtility
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.Favorite
|
namespace Module.NavigationTool.Editor.Favorite
|
||||||
{
|
{
|
||||||
internal sealed class EditorFavoritesPopupWindowAddFolder : PopupWindowContent
|
internal sealed class EditorFavoritesPopupWindowAddFolder : PopupWindowContent
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.Favorite
|
namespace Module.NavigationTool.Editor.Favorite
|
||||||
{
|
{
|
||||||
internal sealed class EditorFavoritesPopupWindowContextMenu : PopupWindowContent
|
internal sealed class EditorFavoritesPopupWindowContextMenu : PopupWindowContent
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.Favorite
|
namespace Module.NavigationTool.Editor.Favorite
|
||||||
{
|
{
|
||||||
internal sealed class EditorFavoritesPopupWindowRenameFolder : PopupWindowContent
|
internal sealed class EditorFavoritesPopupWindowRenameFolder : PopupWindowContent
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.Favorite
|
namespace Module.NavigationTool.Editor.Favorite
|
||||||
{
|
{
|
||||||
internal sealed class EditorFavoritesWindow : EditorWindow
|
internal sealed class EditorFavoritesWindow : EditorWindow
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.Favorite
|
namespace Module.NavigationTool.Editor.Favorite
|
||||||
{
|
{
|
||||||
internal sealed class Styles
|
internal sealed class Styles
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.Favorite
|
namespace Module.NavigationTool.Editor.Favorite
|
||||||
{
|
{
|
||||||
internal abstract class AbstractEditorFavoritesView
|
internal abstract class AbstractEditorFavoritesView
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.Favorite
|
namespace Module.NavigationTool.Editor.Favorite
|
||||||
{
|
{
|
||||||
[Serializable]
|
[Serializable]
|
||||||
internal sealed class EditorFavoritesViewSearchList : AbstractEditorFavoritesView
|
internal sealed class EditorFavoritesViewSearchList : AbstractEditorFavoritesView
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.Favorite
|
namespace Module.NavigationTool.Editor.Favorite
|
||||||
{
|
{
|
||||||
[Serializable]
|
[Serializable]
|
||||||
internal sealed class EditorFavoritesViewTools : AbstractEditorFavoritesView
|
internal sealed class EditorFavoritesViewTools : AbstractEditorFavoritesView
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.Favorite
|
namespace Module.NavigationTool.Editor.Favorite
|
||||||
{
|
{
|
||||||
[Serializable]
|
[Serializable]
|
||||||
internal sealed class EditorFavoritesViewTreeList : AbstractEditorFavoritesView
|
internal sealed class EditorFavoritesViewTreeList : AbstractEditorFavoritesView
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
using UnityEditorInternal;
|
using UnityEditorInternal;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.History
|
namespace Module.NavigationTool.Editor.History
|
||||||
{
|
{
|
||||||
internal static class HistoryGUIUtility
|
internal static class HistoryGUIUtility
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using Object = UnityEngine.Object;
|
using Object = UnityEngine.Object;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.History
|
namespace Module.NavigationTool.Editor.History
|
||||||
{
|
{
|
||||||
[Serializable]
|
[Serializable]
|
||||||
internal sealed class HistoryList
|
internal sealed class HistoryList
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.History
|
namespace Module.NavigationTool.Editor.History
|
||||||
{
|
{
|
||||||
internal sealed class HistoryListPostProcess : AssetPostprocessor
|
internal sealed class HistoryListPostProcess : AssetPostprocessor
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.History
|
namespace Module.NavigationTool.Editor.History
|
||||||
{
|
{
|
||||||
internal static class HistoryUtility
|
internal static class HistoryUtility
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using Object = UnityEngine.Object;
|
using Object = UnityEngine.Object;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.History
|
namespace Module.NavigationTool.Editor.History
|
||||||
{
|
{
|
||||||
internal sealed class EditorHistoryWindow : EditorWindow
|
internal sealed class EditorHistoryWindow : EditorWindow
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.History
|
namespace Module.NavigationTool.Editor.History
|
||||||
{
|
{
|
||||||
internal sealed class Styles
|
internal sealed class Styles
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.History
|
namespace Module.NavigationTool.Editor.History
|
||||||
{
|
{
|
||||||
internal abstract class AbstractEditorHistoryView
|
internal abstract class AbstractEditorHistoryView
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.History
|
namespace Module.NavigationTool.Editor.History
|
||||||
{
|
{
|
||||||
[Serializable]
|
[Serializable]
|
||||||
internal sealed class EditorHistoryViewSearchList : AbstractEditorHistoryView
|
internal sealed class EditorHistoryViewSearchList : AbstractEditorHistoryView
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.History
|
namespace Module.NavigationTool.Editor.History
|
||||||
{
|
{
|
||||||
[Serializable]
|
[Serializable]
|
||||||
internal sealed class EditorHistoryViewTools : AbstractEditorHistoryView
|
internal sealed class EditorHistoryViewTools : AbstractEditorHistoryView
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
using Game.NavigationTool.Editor.Toolbar;
|
using Module.NavigationTool.Editor.Toolbar;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor
|
namespace Module.NavigationTool.Editor
|
||||||
{
|
{
|
||||||
public abstract class AbstractToolbarDrawer
|
public abstract class AbstractToolbarDrawer
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Game.NavigationTool.Editor
|
namespace Module.NavigationTool.Editor
|
||||||
{
|
{
|
||||||
public enum EToolbarPlacement : byte
|
public enum EToolbarPlacement : byte
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
using Game.NavigationTool.Editor.Toolbar;
|
using Module.NavigationTool.Editor.Toolbar;
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.UIElements;
|
using UnityEngine.UIElements;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor
|
namespace Module.NavigationTool.Editor
|
||||||
{
|
{
|
||||||
[InitializeOnLoad]
|
[InitializeOnLoad]
|
||||||
internal static class ToolbarDrawer
|
internal static class ToolbarDrawer
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ using UnityEditor.SceneManagement;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.SceneManagement;
|
using UnityEngine.SceneManagement;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.Tools
|
namespace Module.NavigationTool.Editor.Tools
|
||||||
{
|
{
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
internal sealed class ToolScenePicker : AbstractToolbarDrawer
|
internal sealed class ToolScenePicker : AbstractToolbarDrawer
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
using Game.NavigationTool.Editor.Tools;
|
using Module.NavigationTool.Editor.Tools;
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine.SceneManagement;
|
using UnityEngine.SceneManagement;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.Toolbar
|
namespace Module.NavigationTool.Editor.Toolbar
|
||||||
{
|
{
|
||||||
[InitializeOnLoad]
|
[InitializeOnLoad]
|
||||||
internal static class ToolScenePickerEditorStateChanged
|
internal static class ToolScenePickerEditorStateChanged
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Game.NavigationTool.Editor.Tools;
|
using Module.NavigationTool.Editor.Tools;
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.Toolbar
|
namespace Module.NavigationTool.Editor.Toolbar
|
||||||
{
|
{
|
||||||
internal sealed class ToolScenePickerPostProcess : AssetPostprocessor
|
internal sealed class ToolScenePickerPostProcess : AssetPostprocessor
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ using UnityEditorInternal;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UTools = UnityEditor.Tools;
|
using UTools = UnityEditor.Tools;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.Tools
|
namespace Module.NavigationTool.Editor.Tools
|
||||||
{
|
{
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
internal sealed class ToolUICanvasPicker : AbstractToolbarDrawer
|
internal sealed class ToolUICanvasPicker : AbstractToolbarDrawer
|
||||||
|
|
@ -57,7 +57,13 @@ namespace Game.NavigationTool.Editor.Tools
|
||||||
|
|
||||||
protected override void Draw(Rect rect)
|
protected override void Draw(Rect rect)
|
||||||
{
|
{
|
||||||
Initialize();
|
// 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);
|
int temp = EditorGUI.Popup(rect, 0, OPTIONS, styles.popup);
|
||||||
|
|
||||||
if (temp != 0 && OPTIONS.Length != 1)
|
if (temp != 0 && OPTIONS.Length != 1)
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
using Game.NavigationTool.Editor.Tools;
|
using Module.NavigationTool.Editor.Tools;
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEditor.Experimental.SceneManagement;
|
using UnityEditor.Experimental.SceneManagement;
|
||||||
using UnityEditor.SceneManagement;
|
using UnityEditor.SceneManagement;
|
||||||
using UnityEngine.SceneManagement;
|
using UnityEngine.SceneManagement;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.Toolbar
|
namespace Module.NavigationTool.Editor.Toolbar
|
||||||
{
|
{
|
||||||
[InitializeOnLoad]
|
[InitializeOnLoad]
|
||||||
internal static class ToolUICanvasPickerPostProcess
|
internal static class ToolUICanvasPickerPostProcess
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UTools = UnityEditor.Tools;
|
using UTools = UnityEditor.Tools;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.Tools
|
namespace Module.NavigationTool.Editor.Tools
|
||||||
{
|
{
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
internal sealed class ToolUILayerToggle : AbstractToolbarDrawer
|
internal sealed class ToolUILayerToggle : AbstractToolbarDrawer
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.Toolbar
|
namespace Module.NavigationTool.Editor.Toolbar
|
||||||
{
|
{
|
||||||
public sealed class Styles
|
public sealed class Styles
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ using UnityEngine.UIElements;
|
||||||
using UnityEngine.Experimental.UIElements;
|
using UnityEngine.Experimental.UIElements;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace Game.NavigationTool.Editor.Toolbar
|
namespace Module.NavigationTool.Editor.Toolbar
|
||||||
{
|
{
|
||||||
internal static class ToolbarUtility
|
internal static class ToolbarUtility
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "com.module.navigationtool",
|
"name": "com.module.navigationtool",
|
||||||
"version": "0.6.6",
|
"version": "0.7.0",
|
||||||
"displayName": "Module.NavigationTool",
|
"displayName": "Module.NavigationTool",
|
||||||
"description": "Support for navigation tools, like favorites, history and toolbars",
|
"description": "Support for navigation tools, like favorites, history and toolbars",
|
||||||
"unity": "2019.2",
|
"unity": "2019.2",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue