Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Assembly-CSharp.csproj.DotSettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=assets_005Cunitydebugsheet/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
2 changes: 1 addition & 1 deletion Assets/Demo/00_DemoEntry/Scripts/DemoEntry.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#if !EXCLUDE_UNITY_DEBUG_SHEET
using System;
using System.Collections;
using UnityDebugSheet.Runtime.Core.Scripts;
using UnityDebugSheet;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#if !EXCLUDE_UNITY_DEBUG_SHEET
using Demo._01_CharacterViewer.Scripts.Viewer;
using Demo._99_Shared.Scripts;
using UnityDebugSheet.Runtime.Core.Scripts;
using UnityDebugSheet;
using UnityEngine;
using UnityEngine.Assertions;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
using Demo._99_Shared.Scripts.DebugTools;
using IngameDebugConsole;
using Tayx.Graphy;
using UnityDebugSheet.Runtime.Core.Scripts;
using UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl.Cells;
using UnityDebugSheet;
#if UDS_USE_ASYNC_METHODS
using System.Threading.Tasks;
#else
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#if !EXCLUDE_UNITY_DEBUG_SHEET
using System.Linq;
using Demo._99_Shared.Scripts;
using UnityDebugSheet.Runtime.Core.Scripts;
using UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl.Cells;
using UnityDebugSheet;
using UnityEngine;
#if UDS_USE_ASYNC_METHODS
using System.Threading.Tasks;
Expand Down
4 changes: 1 addition & 3 deletions Assets/Demo/02_DefaultCells/Scripts/DefaultCellsDemo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
#endif
using System.Collections;
using Demo._99_Shared.Scripts;
using UnityDebugSheet.Runtime.Core.Scripts;
using UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl.Cells;
using UnityDebugSheet.Runtime.Foundation.PageNavigator;
using UnityDebugSheet;
using UnityEngine;
using UnityEngine.Assertions;
using UnityEngine.UI;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
using System;
using System.Collections;
using Demo._99_Shared.Scripts;
using UnityDebugSheet.Runtime.Core.Scripts;
using UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl;
using UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl.CellParts;
using UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl.Cells;
using UnityDebugSheet;
using UnityEngine;
using UnityEngine.UI;
#if UDS_USE_ASYNC_METHODS
Expand Down
3 changes: 1 addition & 2 deletions Assets/Demo/03_CustomCells/Scripts/CustomCellsDemo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
#endif
using System.Collections;
using Demo._99_Shared.Scripts;
using UnityDebugSheet.Runtime.Core.Scripts;
using UnityDebugSheet.Runtime.Foundation.PageNavigator;
using UnityDebugSheet;
using UnityEngine;
using UnityEngine.UI;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#if !EXCLUDE_UNITY_DEBUG_SHEET
using System;
using System.Collections.Generic;
using UnityDebugSheet.Runtime.Core.Scripts;
using UnityDebugSheet;
using UnityEngine;
using Random = UnityEngine.Random;
#if UDS_USE_ASYNC_METHODS
Expand Down
2 changes: 1 addition & 1 deletion Assets/Demo/03_CustomCells/Scripts/CustomTextCell.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#if !EXCLUDE_UNITY_DEBUG_SHEET
using UnityDebugSheet.Runtime.Core.Scripts;
using UnityDebugSheet;
using UnityEngine;
using UnityEngine.UI;

Expand Down
2 changes: 1 addition & 1 deletion Assets/Demo/99_Shared/Scripts/DebugTools/DebugTools.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System;
using IngameDebugConsole;
using Tayx.Graphy;
using UnityDebugSheet.Runtime.Core.Scripts;
using UnityDebugSheet;
using UnityEngine;

namespace Demo._99_Shared.Scripts.DebugTools
Expand Down
2 changes: 1 addition & 1 deletion Assets/Demo/99_Shared/Scripts/DebugTools/DebugToolsPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Collections;
using IngameDebugConsole;
using Tayx.Graphy;
using UnityDebugSheet.Runtime.Core.Scripts;
using UnityDebugSheet;
using UnityDebugSheet.Runtime.Extensions.Graphy;
using UnityDebugSheet.Runtime.Extensions.IngameDebugConsole;
using UnityDebugSheet.Runtime.Extensions.Unity;
Expand Down
2 changes: 1 addition & 1 deletion Assets/Demo/99_Shared/Scripts/FlickHere.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#if !EXCLUDE_UNITY_DEBUG_SHEET
using System.Collections;
using UnityDebugSheet.Runtime.Core.Scripts;
using UnityDebugSheet;
using UnityEngine;

namespace Demo._99_Shared.Scripts
Expand Down
2 changes: 1 addition & 1 deletion Assets/Demo/99_Shared/Scripts/PageItemDisposer.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#if !EXCLUDE_UNITY_DEBUG_SHEET
using System;
using System.Collections.Generic;
using UnityDebugSheet.Runtime.Core.Scripts;
using UnityDebugSheet;
using UnityEngine.Assertions;

namespace Demo._99_Shared.Scripts
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using System.Collections.Generic;
using UnityDebugSheet.Runtime.Core.Scripts;
using UnityEditor;
using UnityEngine;

namespace UnityDebugSheet.Editor.Core.Scripts
namespace UnityDebugSheet.Editor
{
[CustomPropertyDrawer(typeof(KeyboardShortcut))]
internal class KeyboardShortcutDrawer : PropertyDrawer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using UnityEditor;
using UnityEngine;

namespace Drawer.Editor
namespace UnityDebugSheet.Editor
{
[CustomEditor(typeof(UnityDebugSheet.Runtime.Foundation.Drawer.Drawer), true)]
[CustomEditor(typeof(Drawer), true)]
public class DrawerEditor : UnityEditor.Editor
{
private bool _debugFoldout;
Expand Down Expand Up @@ -52,7 +52,7 @@ protected virtual void DrawProperties()

protected virtual void DrawDebugMenu()
{
var component = (UnityDebugSheet.Runtime.Foundation.Drawer.Drawer)target;
var component = (Drawer)target;
using (var ccs = new EditorGUI.ChangeCheckScope())
{
var progress = EditorGUILayout.Slider("Progress", component.Progress, 0.0f, 1.0f);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using System;
using UnityDebugSheet.Runtime.Foundation.Drawer;
using UnityEditor;
using UnityEngine;

namespace Drawer.Editor
namespace UnityDebugSheet.Editor
{
[CustomEditor(typeof(StatefulDrawer), true)]
public sealed class StatefulDrawerEditor : DrawerEditor
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "UnityDebugSheet.Editor",
"rootNamespace": "",
"rootNamespace": "UnityDebugSheet.Editor",
"references": [
"GUID:58c518d4346be9042bfa20894cfca1d3"
],
Expand Down
3 changes: 1 addition & 2 deletions Assets/UnityDebugSheet/Runtime/Core/Scripts/BalloonButton.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
using System;
using System.Collections;
using UnityDebugSheet.Runtime.Foundation.Drawer.TinyTween;
using UnityEngine;
using UnityEngine.Assertions;
using UnityEngine.UI;

namespace UnityDebugSheet.Runtime.Core.Scripts
namespace UnityDebugSheet
{
public class BalloonButton : MonoBehaviour
{
Expand Down
2 changes: 1 addition & 1 deletion Assets/UnityDebugSheet/Runtime/Core/Scripts/Cell.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using UnityEngine;

namespace UnityDebugSheet.Runtime.Core.Scripts
namespace UnityDebugSheet
{
public interface ICell
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using UnityEngine;

namespace UnityDebugSheet.Runtime.Core.Scripts
namespace UnityDebugSheet
{
public enum ClickToOpenMode
{
Expand Down
2 changes: 1 addition & 1 deletion Assets/UnityDebugSheet/Runtime/Core/Scripts/DebugPage.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace UnityDebugSheet.Runtime.Core.Scripts
namespace UnityDebugSheet
{
public sealed class DebugPage : DefaultDebugPageBase
{
Expand Down
7 changes: 2 additions & 5 deletions Assets/UnityDebugSheet/Runtime/Core/Scripts/DebugPageBase.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
using System.Collections.Generic;
using UnityDebugSheet.Runtime.Foundation.ObjectPooling;
using UnityDebugSheet.Runtime.Foundation.PageNavigator;
using UnityDebugSheet.Runtime.Foundation.PageNavigator.Modules;
using UnityDebugSheet.Runtime.Foundation.TinyRecyclerView;
using UnityDebugSheet.TinyRecyclerView;
using UnityEngine;

namespace UnityDebugSheet.Runtime.Core.Scripts
namespace UnityDebugSheet
{
public abstract class DebugPageBase : Page, IRecyclerViewCellProvider, IRecyclerViewDataProvider
{
Expand Down
8 changes: 1 addition & 7 deletions Assets/UnityDebugSheet/Runtime/Core/Scripts/DebugSheet.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
using System;
using System.Collections.Generic;
using UnityDebugSheet.Runtime.Foundation.Drawer;
using UnityDebugSheet.Runtime.Foundation.Gestures.Flicks;
using UnityDebugSheet.Runtime.Foundation.Gestures.MultiClicks;
using UnityDebugSheet.Runtime.Foundation.PageNavigator;
using UnityDebugSheet.Runtime.Foundation.PageNavigator.Modules;
using UnityDebugSheet.Runtime.Foundation.PageNavigator.Modules.AssetLoader;
using UnityEngine;
using UnityEngine.Serialization;
using UnityEngine.UI;

namespace UnityDebugSheet.Runtime.Core.Scripts
namespace UnityDebugSheet
{
[DefaultExecutionOrder(int.MinValue)]
public sealed class DebugSheet : MonoBehaviour, IPageContainerCallbackReceiver
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using UnityEngine;
using UnityEngine.UI;

namespace UnityDebugSheet.Runtime.Core.Scripts
namespace UnityDebugSheet
{
[ExecuteAlways]
[RequireComponent(typeof(Canvas))]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using UnityDebugSheet.Runtime.Foundation.Drawer;
using UnityEngine;
using UnityEngine;

namespace UnityDebugSheet.Runtime.Core.Scripts
namespace UnityDebugSheet
{
public sealed class DebugSheetDrawer : StatefulDrawer
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
using System;
using System.Collections.Generic;
using UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl;
using UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl.CellParts;
using UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl.Cells;
using UnityEngine;
using UnityEngine.UI;

namespace UnityDebugSheet.Runtime.Core.Scripts
namespace UnityDebugSheet
{
public abstract class DefaultDebugPageBase : DebugPageBase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl
namespace UnityDebugSheet
{
internal static class AssetKeys
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using UnityEngine;
using UnityEngine.UI;

namespace UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl.CellParts
namespace UnityDebugSheet
{
public sealed class CellIcon : MonoBehaviour
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using UnityEngine;

namespace UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl.CellParts
namespace UnityDebugSheet
{
public sealed class CellIconModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using UnityEngine;
using UnityEngine.UI;

namespace UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl.CellParts
namespace UnityDebugSheet
{
public sealed class CellTexts : MonoBehaviour
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using UnityEngine;

namespace UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl.CellParts
namespace UnityDebugSheet
{
public sealed class CellTextsModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using UnityEngine;
using UnityEngine.UI;

namespace UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl.CellParts
namespace UnityDebugSheet
{
public sealed class CollectionButton : MonoBehaviour
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using UnityEngine;

namespace UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl.CellParts
namespace UnityDebugSheet
{
public sealed class CollectionButtonModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using System;
using UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl.CellParts;
using UnityEngine;
using UnityEngine.UI;

namespace UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl.Cells
namespace UnityDebugSheet
{
public sealed class ButtonCell : Cell<ButtonCellModel>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using System.Collections.Generic;
using UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl.CellParts;
using UnityEngine;
using UnityEngine.UI;

namespace UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl.Cells
namespace UnityDebugSheet
{
public sealed class ButtonCollectionCell : Cell<ButtonCollectionCellModel>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,15 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl.CellParts;
using UnityDebugSheet.Runtime.Foundation.PageNavigator;
using UnityEngine;
using UnityEngine.UI;
#if UDS_USE_ASYNC_METHODS
using System.Threading.Tasks;

#else
using System.Collections;
#endif


namespace UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl.Cells
namespace UnityDebugSheet
{
public sealed class EnumMultiPickerCell : Cell<EnumMultiPickerCellModel>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
using System;
using System.Collections.Generic;
using UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl.CellParts;
using UnityDebugSheet.Runtime.Foundation.PageNavigator;
using UnityEngine;
using UnityEngine.UI;
#if UDS_USE_ASYNC_METHODS
using System.Threading.Tasks;

#else
using System.Collections;
#endif

namespace UnityDebugSheet.Runtime.Core.Scripts.DefaultImpl.Cells
namespace UnityDebugSheet
{
public sealed class EnumPickerCell : Cell<EnumPickerCellModel>
{
Expand Down
Loading