mirror of
https://github.com/AnnulusGames/Alchemy.git
synced 2025-01-22 08:18:51 -05:00
Remove: Alchemy.Editor.Internal namespace
This commit is contained in:
parent
43d241c0bd
commit
3d148e1c7d
@ -1,10 +1,9 @@
|
||||
using System.Reflection;
|
||||
using UnityEditor;
|
||||
using UnityEditor.UIElements;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UIElements;
|
||||
using Alchemy.Inspector;
|
||||
using Alchemy.Editor.Internal;
|
||||
using UnityEditor.UIElements;
|
||||
#if ALCHEMY_SUPPORT_SERIALIZATION
|
||||
using Alchemy.Serialization;
|
||||
#endif
|
||||
|
@ -1,9 +1,8 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UIElements;
|
||||
using Alchemy.Inspector;
|
||||
using Alchemy.Editor.Internal;
|
||||
using Alchemy.Editor.Elements;
|
||||
using UnityEditor;
|
||||
using Alchemy.Inspector;
|
||||
using Alchemy.Editor.Elements;
|
||||
|
||||
namespace Alchemy.Editor.Drawers
|
||||
{
|
||||
|
@ -6,7 +6,6 @@ using UnityEngine.UIElements;
|
||||
using UnityEditor;
|
||||
using UnityEditor.UIElements;
|
||||
using Alchemy.Inspector;
|
||||
using Alchemy.Editor.Internal;
|
||||
using Alchemy.Editor.Elements;
|
||||
|
||||
namespace Alchemy.Editor.Drawers
|
||||
|
@ -2,7 +2,6 @@ using System;
|
||||
using UnityEditor;
|
||||
using UnityEditor.UIElements;
|
||||
using UnityEngine.UIElements;
|
||||
using Alchemy.Editor.Internal;
|
||||
using Alchemy.Inspector;
|
||||
|
||||
namespace Alchemy.Editor.Elements
|
||||
|
@ -1,9 +1,6 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using UnityEditor;
|
||||
using UnityEngine.UIElements;
|
||||
using Alchemy.Editor.Internal;
|
||||
using Alchemy.Inspector;
|
||||
|
||||
namespace Alchemy.Editor.Elements
|
||||
|
@ -1,6 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Alchemy.Editor.Internal;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UIElements;
|
||||
|
@ -5,7 +5,6 @@ using UnityEditor;
|
||||
using UnityEditor.UIElements;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UIElements;
|
||||
using Alchemy.Editor.Internal;
|
||||
|
||||
namespace Alchemy.Editor.Elements
|
||||
{
|
||||
|
@ -1,7 +1,6 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UIElements;
|
||||
using Alchemy.Editor.Internal;
|
||||
|
||||
namespace Alchemy.Editor.Elements
|
||||
{
|
||||
|
@ -3,7 +3,6 @@ using UnityEngine.Assertions;
|
||||
using UnityEngine.UIElements;
|
||||
using UnityEditor;
|
||||
using UnityEditor.UIElements;
|
||||
using Alchemy.Editor.Internal;
|
||||
|
||||
namespace Alchemy.Editor.Elements
|
||||
{
|
||||
|
@ -3,7 +3,6 @@ using System.Collections;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UIElements;
|
||||
using UnityEngine.Assertions;
|
||||
using Alchemy.Editor.Internal;
|
||||
|
||||
namespace Alchemy.Editor.Elements
|
||||
{
|
||||
|
@ -1,6 +1,4 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using Alchemy.Editor.Internal;
|
||||
using UnityEditor;
|
||||
using UnityEngine.UIElements;
|
||||
|
||||
|
@ -1,10 +1,8 @@
|
||||
using System;
|
||||
using UnityEditor;
|
||||
using UnityEditor.UIElements;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Assertions;
|
||||
using UnityEngine.UIElements;
|
||||
using Alchemy.Editor.Internal;
|
||||
|
||||
namespace Alchemy.Editor.Elements
|
||||
{
|
||||
|
@ -3,7 +3,6 @@ using System.Reflection;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UIElements;
|
||||
using Alchemy.Editor.Internal;
|
||||
using Alchemy.Inspector;
|
||||
|
||||
namespace Alchemy.Editor.Elements
|
||||
|
@ -6,7 +6,6 @@ using UnityEditor.IMGUI.Controls;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Assertions;
|
||||
using UnityEngine.UIElements;
|
||||
using Alchemy.Editor.Internal;
|
||||
|
||||
namespace Alchemy.Editor.Elements
|
||||
{
|
||||
|
@ -1,6 +1,5 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using Alchemy.Editor.Internal;
|
||||
|
||||
namespace Alchemy.Editor
|
||||
{
|
||||
|
@ -2,7 +2,6 @@ using System.Linq;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using Alchemy.Hierarchy;
|
||||
using Alchemy.Editor.Internal;
|
||||
|
||||
namespace Alchemy.Editor
|
||||
{
|
||||
|
@ -2,7 +2,7 @@ using UnityEngine;
|
||||
using UnityEditor;
|
||||
using System;
|
||||
|
||||
namespace Alchemy.Editor.Internal
|
||||
namespace Alchemy.Editor
|
||||
{
|
||||
// Rererence: https://www.foundations.unity.com/fundamentals/color-palette
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Alchemy.Editor.Internal
|
||||
namespace Alchemy.Editor
|
||||
{
|
||||
internal static class EditorIcons
|
||||
{
|
||||
|
@ -6,7 +6,7 @@ using UnityEngine.Assertions;
|
||||
using Alchemy.Inspector;
|
||||
using System;
|
||||
|
||||
namespace Alchemy.Editor.Internal
|
||||
namespace Alchemy.Editor
|
||||
{
|
||||
internal static class GUIHelper
|
||||
{
|
||||
|
@ -12,7 +12,7 @@ using Alchemy.Editor.Elements;
|
||||
using Alchemy.Serialization;
|
||||
#endif
|
||||
|
||||
namespace Alchemy.Editor.Internal
|
||||
namespace Alchemy.Editor
|
||||
{
|
||||
internal static class InspectorHelper
|
||||
{
|
||||
|
@ -2,14 +2,14 @@ using System;
|
||||
using System.Reflection;
|
||||
using UnityEngine.UIElements;
|
||||
|
||||
namespace Alchemy.Editor.Internal
|
||||
namespace Alchemy.Editor
|
||||
{
|
||||
using Editor = UnityEditor.Editor;
|
||||
|
||||
/// <summary>
|
||||
/// Call the Unity internal API using reflection. This may not work depending on your Unity version.
|
||||
/// </summary>
|
||||
public static class InternalAPIHelper
|
||||
internal static class InternalAPIHelper
|
||||
{
|
||||
static readonly Assembly EditorAssembly = Assembly.GetAssembly(typeof(Editor));
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
namespace Alchemy.Editor.Internal
|
||||
namespace Alchemy.Editor
|
||||
{
|
||||
public static class MemberInfoExtensions
|
||||
internal static class MemberInfoExtensions
|
||||
{
|
||||
public static bool HasCustomAttribute<T>(this MemberInfo memberInfo) where T : Attribute
|
||||
{
|
||||
|
@ -4,11 +4,10 @@ using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Alchemy.Editor.Internal
|
||||
namespace Alchemy.Editor
|
||||
{
|
||||
public static class ReflectionHelper
|
||||
internal static class ReflectionHelper
|
||||
{
|
||||
static readonly Dictionary<(Type, string, BindingFlags, bool), FieldInfo> cacheFieldInfo = new();
|
||||
static readonly Dictionary<(Type, string, BindingFlags, bool), MethodInfo> cacheMethodInfo = new();
|
||||
|
@ -5,9 +5,9 @@ using UnityEngine;
|
||||
using UnityEditor;
|
||||
using UnityEditor.IMGUI.Controls;
|
||||
|
||||
namespace Alchemy.Editor.Internal
|
||||
namespace Alchemy.Editor
|
||||
{
|
||||
public sealed class SerializeReferenceDropdownItem : AdvancedDropdownItem
|
||||
internal sealed class SerializeReferenceDropdownItem : AdvancedDropdownItem
|
||||
{
|
||||
public readonly Type type;
|
||||
public SerializeReferenceDropdownItem(Type type, string name) : base(name)
|
||||
@ -17,7 +17,7 @@ namespace Alchemy.Editor.Internal
|
||||
}
|
||||
}
|
||||
|
||||
public sealed class SerializeReferenceDropdown : AdvancedDropdown
|
||||
internal sealed class SerializeReferenceDropdown : AdvancedDropdown
|
||||
{
|
||||
private static readonly float headerHeight = EditorGUIUtility.singleLineHeight * 2f;
|
||||
private static readonly int maxNamespaceNestCount = 16;
|
||||
|
@ -1,11 +0,0 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using UnityEditor;
|
||||
|
||||
namespace Alchemy.Editor.Internal
|
||||
{
|
||||
public static class SerializedObjectExtensions
|
||||
{
|
||||
|
||||
}
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e70b6aca000bb4a698521391868e2f98
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -7,9 +7,9 @@ using System.Text.RegularExpressions;
|
||||
using UnityEngine;
|
||||
using UnityEditor;
|
||||
|
||||
namespace Alchemy.Editor.Internal
|
||||
namespace Alchemy.Editor
|
||||
{
|
||||
public static class SerializedPropertyExtensions
|
||||
internal static class SerializedPropertyExtensions
|
||||
{
|
||||
public static bool TryGetAttribute<TAttribute>(this SerializedProperty property, out TAttribute result) where TAttribute : Attribute
|
||||
{
|
||||
|
@ -2,7 +2,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace Alchemy.Editor.Internal
|
||||
namespace Alchemy.Editor
|
||||
{
|
||||
internal static class TypeHelper
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user