From a0fa2c9b36c3ff0e63a962634bfa64686ad0d133 Mon Sep 17 00:00:00 2001 From: max Date: Wed, 28 Dec 2022 13:55:36 +0100 Subject: [PATCH] split runtime and editor --- ...eferenceButtonAttribute.meta => Editor.meta | 2 +- .../Attributes.meta | 2 +- .../SerializeReferenceButtonAttributeDrawer.cs | 0 ...alizeReferenceButtonAttributeDrawer.cs.meta | 0 .../SerializeReferenceMenuAttributeDrawer.cs | 0 ...rializeReferenceMenuAttributeDrawer.cs.meta | 0 Core.meta => Editor/Core.meta | 0 .../Core}/ManagedReferenceUtility.cs | 0 .../Core}/ManagedReferenceUtility.cs.meta | 0 .../SerializeReferenceGenericSelectionMenu.cs | 0 ...ializeReferenceGenericSelectionMenu.cs.meta | 0 DefaultUI.meta => Editor/DefaultUI.meta | 0 .../SerializeReferenceInspectorButton.cs | 0 .../SerializeReferenceInspectorButton.cs.meta | 0 ...rializeReferenceInspectorMiddleMouseMenu.cs | 0 ...zeReferenceInspectorMiddleMouseMenu.cs.meta | 0 .../Textus.SerializeReferenceUI.Editor.asmdef | 18 ++++++++++++++++++ ...tus.SerializeReferenceUI.Editor.asmdef.meta | 7 +++++++ ...estrictionExcludeTypes.meta => Runtime.meta | 2 +- .../Attributes.meta | 0 .../SerializeReferenceButtonAttribute.cs | 0 .../SerializeReferenceButtonAttribute.cs.meta | 0 .../SerializeReferenceMenuAttribute.cs | 0 .../SerializeReferenceMenuAttribute.cs.meta | 0 ...ializeReferenceUIRestrictionExcludeTypes.cs | 0 ...eReferenceUIRestrictionExcludeTypes.cs.meta | 0 ...ializeReferenceUIRestrictionIncludeTypes.cs | 0 ...eReferenceUIRestrictionIncludeTypes.cs.meta | 0 ...alizedReferenceUIDefaultTypeRestrictions.cs | 0 ...dReferenceUIDefaultTypeRestrictions.cs.meta | 0 .../Core.meta | 2 +- ...SerializeReferenceTypeRestrictionFilters.cs | 0 ...lizeReferenceTypeRestrictionFilters.cs.meta | 0 Runtime/Textus.SerializeReferenceUI.asmdef | 14 ++++++++++++++ .../Textus.SerializeReferenceUI.asmdef.meta | 0 Textus.SerializeReferenceUI.asmdef | 3 --- 36 files changed, 43 insertions(+), 7 deletions(-) rename DefaultAttributes/SerializeReferenceButtonAttribute.meta => Editor.meta (77%) rename DefaultAttributes/SerializeReferenceMenuAttribute.meta => Editor/Attributes.meta (77%) rename {DefaultAttributes/SerializeReferenceButtonAttribute => Editor/Attributes}/SerializeReferenceButtonAttributeDrawer.cs (100%) rename {DefaultAttributes/SerializeReferenceButtonAttribute => Editor/Attributes}/SerializeReferenceButtonAttributeDrawer.cs.meta (100%) rename {DefaultAttributes/SerializeReferenceMenuAttribute => Editor/Attributes}/SerializeReferenceMenuAttributeDrawer.cs (100%) rename {DefaultAttributes/SerializeReferenceMenuAttribute => Editor/Attributes}/SerializeReferenceMenuAttributeDrawer.cs.meta (100%) rename Core.meta => Editor/Core.meta (100%) rename {Core => Editor/Core}/ManagedReferenceUtility.cs (100%) rename {Core => Editor/Core}/ManagedReferenceUtility.cs.meta (100%) rename {Core => Editor/Core}/SerializeReferenceGenericSelectionMenu.cs (100%) rename {Core => Editor/Core}/SerializeReferenceGenericSelectionMenu.cs.meta (100%) rename DefaultUI.meta => Editor/DefaultUI.meta (100%) rename {DefaultUI => Editor/DefaultUI}/SerializeReferenceInspectorButton.cs (100%) rename {DefaultUI => Editor/DefaultUI}/SerializeReferenceInspectorButton.cs.meta (100%) rename {DefaultUI => Editor/DefaultUI}/SerializeReferenceInspectorMiddleMouseMenu.cs (100%) rename {DefaultUI => Editor/DefaultUI}/SerializeReferenceInspectorMiddleMouseMenu.cs.meta (100%) create mode 100644 Editor/Textus.SerializeReferenceUI.Editor.asmdef create mode 100644 Editor/Textus.SerializeReferenceUI.Editor.asmdef.meta rename DefaultAttributes/SerializeReferenceUIRestrictionExcludeTypes.meta => Runtime.meta (77%) rename DefaultAttributes.meta => Runtime/Attributes.meta (100%) rename {DefaultAttributes/SerializeReferenceButtonAttribute => Runtime/Attributes}/SerializeReferenceButtonAttribute.cs (100%) rename {DefaultAttributes/SerializeReferenceButtonAttribute => Runtime/Attributes}/SerializeReferenceButtonAttribute.cs.meta (100%) rename {DefaultAttributes/SerializeReferenceMenuAttribute => Runtime/Attributes}/SerializeReferenceMenuAttribute.cs (100%) rename {DefaultAttributes/SerializeReferenceMenuAttribute => Runtime/Attributes}/SerializeReferenceMenuAttribute.cs.meta (100%) rename {DefaultAttributes/SerializeReferenceUIRestrictionExcludeTypes => Runtime/Attributes}/SerializeReferenceUIRestrictionExcludeTypes.cs (100%) rename {DefaultAttributes/SerializeReferenceUIRestrictionExcludeTypes => Runtime/Attributes}/SerializeReferenceUIRestrictionExcludeTypes.cs.meta (100%) rename {DefaultAttributes/SerializeReferenceUIRestrictionIncludeTypes => Runtime/Attributes}/SerializeReferenceUIRestrictionIncludeTypes.cs (100%) rename {DefaultAttributes/SerializeReferenceUIRestrictionIncludeTypes => Runtime/Attributes}/SerializeReferenceUIRestrictionIncludeTypes.cs.meta (100%) rename {DefaultAttributes => Runtime/Attributes}/SerializedReferenceUIDefaultTypeRestrictions.cs (100%) rename {DefaultAttributes => Runtime/Attributes}/SerializedReferenceUIDefaultTypeRestrictions.cs.meta (100%) rename DefaultAttributes/SerializeReferenceUIRestrictionIncludeTypes.meta => Runtime/Core.meta (77%) rename {Core => Runtime/Core}/SerializeReferenceTypeRestrictionFilters.cs (100%) rename {Core => Runtime/Core}/SerializeReferenceTypeRestrictionFilters.cs.meta (100%) create mode 100644 Runtime/Textus.SerializeReferenceUI.asmdef rename Textus.SerializeReferenceUI.asmdef.meta => Runtime/Textus.SerializeReferenceUI.asmdef.meta (100%) delete mode 100644 Textus.SerializeReferenceUI.asmdef diff --git a/DefaultAttributes/SerializeReferenceButtonAttribute.meta b/Editor.meta similarity index 77% rename from DefaultAttributes/SerializeReferenceButtonAttribute.meta rename to Editor.meta index c7cdbed..d343e7c 100644 --- a/DefaultAttributes/SerializeReferenceButtonAttribute.meta +++ b/Editor.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 827f3a2847b39a94eb6fcbdb0d73d6ca +guid: 2c352f00c5c393843ab15d3e2ecefc43 folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/DefaultAttributes/SerializeReferenceMenuAttribute.meta b/Editor/Attributes.meta similarity index 77% rename from DefaultAttributes/SerializeReferenceMenuAttribute.meta rename to Editor/Attributes.meta index d06118c..8b6107e 100644 --- a/DefaultAttributes/SerializeReferenceMenuAttribute.meta +++ b/Editor/Attributes.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: ff8136ca43f822642adfa6388b137133 +guid: 9bc24f38d5cb0f64ca274cd898f2f098 folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttributeDrawer.cs b/Editor/Attributes/SerializeReferenceButtonAttributeDrawer.cs similarity index 100% rename from DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttributeDrawer.cs rename to Editor/Attributes/SerializeReferenceButtonAttributeDrawer.cs diff --git a/DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttributeDrawer.cs.meta b/Editor/Attributes/SerializeReferenceButtonAttributeDrawer.cs.meta similarity index 100% rename from DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttributeDrawer.cs.meta rename to Editor/Attributes/SerializeReferenceButtonAttributeDrawer.cs.meta diff --git a/DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttributeDrawer.cs b/Editor/Attributes/SerializeReferenceMenuAttributeDrawer.cs similarity index 100% rename from DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttributeDrawer.cs rename to Editor/Attributes/SerializeReferenceMenuAttributeDrawer.cs diff --git a/DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttributeDrawer.cs.meta b/Editor/Attributes/SerializeReferenceMenuAttributeDrawer.cs.meta similarity index 100% rename from DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttributeDrawer.cs.meta rename to Editor/Attributes/SerializeReferenceMenuAttributeDrawer.cs.meta diff --git a/Core.meta b/Editor/Core.meta similarity index 100% rename from Core.meta rename to Editor/Core.meta diff --git a/Core/ManagedReferenceUtility.cs b/Editor/Core/ManagedReferenceUtility.cs similarity index 100% rename from Core/ManagedReferenceUtility.cs rename to Editor/Core/ManagedReferenceUtility.cs diff --git a/Core/ManagedReferenceUtility.cs.meta b/Editor/Core/ManagedReferenceUtility.cs.meta similarity index 100% rename from Core/ManagedReferenceUtility.cs.meta rename to Editor/Core/ManagedReferenceUtility.cs.meta diff --git a/Core/SerializeReferenceGenericSelectionMenu.cs b/Editor/Core/SerializeReferenceGenericSelectionMenu.cs similarity index 100% rename from Core/SerializeReferenceGenericSelectionMenu.cs rename to Editor/Core/SerializeReferenceGenericSelectionMenu.cs diff --git a/Core/SerializeReferenceGenericSelectionMenu.cs.meta b/Editor/Core/SerializeReferenceGenericSelectionMenu.cs.meta similarity index 100% rename from Core/SerializeReferenceGenericSelectionMenu.cs.meta rename to Editor/Core/SerializeReferenceGenericSelectionMenu.cs.meta diff --git a/DefaultUI.meta b/Editor/DefaultUI.meta similarity index 100% rename from DefaultUI.meta rename to Editor/DefaultUI.meta diff --git a/DefaultUI/SerializeReferenceInspectorButton.cs b/Editor/DefaultUI/SerializeReferenceInspectorButton.cs similarity index 100% rename from DefaultUI/SerializeReferenceInspectorButton.cs rename to Editor/DefaultUI/SerializeReferenceInspectorButton.cs diff --git a/DefaultUI/SerializeReferenceInspectorButton.cs.meta b/Editor/DefaultUI/SerializeReferenceInspectorButton.cs.meta similarity index 100% rename from DefaultUI/SerializeReferenceInspectorButton.cs.meta rename to Editor/DefaultUI/SerializeReferenceInspectorButton.cs.meta diff --git a/DefaultUI/SerializeReferenceInspectorMiddleMouseMenu.cs b/Editor/DefaultUI/SerializeReferenceInspectorMiddleMouseMenu.cs similarity index 100% rename from DefaultUI/SerializeReferenceInspectorMiddleMouseMenu.cs rename to Editor/DefaultUI/SerializeReferenceInspectorMiddleMouseMenu.cs diff --git a/DefaultUI/SerializeReferenceInspectorMiddleMouseMenu.cs.meta b/Editor/DefaultUI/SerializeReferenceInspectorMiddleMouseMenu.cs.meta similarity index 100% rename from DefaultUI/SerializeReferenceInspectorMiddleMouseMenu.cs.meta rename to Editor/DefaultUI/SerializeReferenceInspectorMiddleMouseMenu.cs.meta diff --git a/Editor/Textus.SerializeReferenceUI.Editor.asmdef b/Editor/Textus.SerializeReferenceUI.Editor.asmdef new file mode 100644 index 0000000..da333bd --- /dev/null +++ b/Editor/Textus.SerializeReferenceUI.Editor.asmdef @@ -0,0 +1,18 @@ +{ + "name": "Textus.SerializeReferenceUI.Editor", + "rootNamespace": "Textus.SerializeReferenceUI.Editor", + "references": [ + "GUID:73106583b323919458c1e05166706ce3" + ], + "includePlatforms": [ + "Editor" + ], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Editor/Textus.SerializeReferenceUI.Editor.asmdef.meta b/Editor/Textus.SerializeReferenceUI.Editor.asmdef.meta new file mode 100644 index 0000000..b72e0b9 --- /dev/null +++ b/Editor/Textus.SerializeReferenceUI.Editor.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 724728a2dc59e6542afdd88f2b4e569a +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/DefaultAttributes/SerializeReferenceUIRestrictionExcludeTypes.meta b/Runtime.meta similarity index 77% rename from DefaultAttributes/SerializeReferenceUIRestrictionExcludeTypes.meta rename to Runtime.meta index d774d13..8cec6a2 100644 --- a/DefaultAttributes/SerializeReferenceUIRestrictionExcludeTypes.meta +++ b/Runtime.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 3fbe55d72b5fd59459fdb52e0f301ea1 +guid: c2344c701583e2c42a452ddaf94ab240 folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/DefaultAttributes.meta b/Runtime/Attributes.meta similarity index 100% rename from DefaultAttributes.meta rename to Runtime/Attributes.meta diff --git a/DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttribute.cs b/Runtime/Attributes/SerializeReferenceButtonAttribute.cs similarity index 100% rename from DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttribute.cs rename to Runtime/Attributes/SerializeReferenceButtonAttribute.cs diff --git a/DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttribute.cs.meta b/Runtime/Attributes/SerializeReferenceButtonAttribute.cs.meta similarity index 100% rename from DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttribute.cs.meta rename to Runtime/Attributes/SerializeReferenceButtonAttribute.cs.meta diff --git a/DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttribute.cs b/Runtime/Attributes/SerializeReferenceMenuAttribute.cs similarity index 100% rename from DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttribute.cs rename to Runtime/Attributes/SerializeReferenceMenuAttribute.cs diff --git a/DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttribute.cs.meta b/Runtime/Attributes/SerializeReferenceMenuAttribute.cs.meta similarity index 100% rename from DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttribute.cs.meta rename to Runtime/Attributes/SerializeReferenceMenuAttribute.cs.meta diff --git a/DefaultAttributes/SerializeReferenceUIRestrictionExcludeTypes/SerializeReferenceUIRestrictionExcludeTypes.cs b/Runtime/Attributes/SerializeReferenceUIRestrictionExcludeTypes.cs similarity index 100% rename from DefaultAttributes/SerializeReferenceUIRestrictionExcludeTypes/SerializeReferenceUIRestrictionExcludeTypes.cs rename to Runtime/Attributes/SerializeReferenceUIRestrictionExcludeTypes.cs diff --git a/DefaultAttributes/SerializeReferenceUIRestrictionExcludeTypes/SerializeReferenceUIRestrictionExcludeTypes.cs.meta b/Runtime/Attributes/SerializeReferenceUIRestrictionExcludeTypes.cs.meta similarity index 100% rename from DefaultAttributes/SerializeReferenceUIRestrictionExcludeTypes/SerializeReferenceUIRestrictionExcludeTypes.cs.meta rename to Runtime/Attributes/SerializeReferenceUIRestrictionExcludeTypes.cs.meta diff --git a/DefaultAttributes/SerializeReferenceUIRestrictionIncludeTypes/SerializeReferenceUIRestrictionIncludeTypes.cs b/Runtime/Attributes/SerializeReferenceUIRestrictionIncludeTypes.cs similarity index 100% rename from DefaultAttributes/SerializeReferenceUIRestrictionIncludeTypes/SerializeReferenceUIRestrictionIncludeTypes.cs rename to Runtime/Attributes/SerializeReferenceUIRestrictionIncludeTypes.cs diff --git a/DefaultAttributes/SerializeReferenceUIRestrictionIncludeTypes/SerializeReferenceUIRestrictionIncludeTypes.cs.meta b/Runtime/Attributes/SerializeReferenceUIRestrictionIncludeTypes.cs.meta similarity index 100% rename from DefaultAttributes/SerializeReferenceUIRestrictionIncludeTypes/SerializeReferenceUIRestrictionIncludeTypes.cs.meta rename to Runtime/Attributes/SerializeReferenceUIRestrictionIncludeTypes.cs.meta diff --git a/DefaultAttributes/SerializedReferenceUIDefaultTypeRestrictions.cs b/Runtime/Attributes/SerializedReferenceUIDefaultTypeRestrictions.cs similarity index 100% rename from DefaultAttributes/SerializedReferenceUIDefaultTypeRestrictions.cs rename to Runtime/Attributes/SerializedReferenceUIDefaultTypeRestrictions.cs diff --git a/DefaultAttributes/SerializedReferenceUIDefaultTypeRestrictions.cs.meta b/Runtime/Attributes/SerializedReferenceUIDefaultTypeRestrictions.cs.meta similarity index 100% rename from DefaultAttributes/SerializedReferenceUIDefaultTypeRestrictions.cs.meta rename to Runtime/Attributes/SerializedReferenceUIDefaultTypeRestrictions.cs.meta diff --git a/DefaultAttributes/SerializeReferenceUIRestrictionIncludeTypes.meta b/Runtime/Core.meta similarity index 77% rename from DefaultAttributes/SerializeReferenceUIRestrictionIncludeTypes.meta rename to Runtime/Core.meta index 2ab11e3..a1b935c 100644 --- a/DefaultAttributes/SerializeReferenceUIRestrictionIncludeTypes.meta +++ b/Runtime/Core.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: c0c77910f7962a14cb85132596cb8d24 +guid: dedc3ebcef4e16146b965988c96d2f1c folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Core/SerializeReferenceTypeRestrictionFilters.cs b/Runtime/Core/SerializeReferenceTypeRestrictionFilters.cs similarity index 100% rename from Core/SerializeReferenceTypeRestrictionFilters.cs rename to Runtime/Core/SerializeReferenceTypeRestrictionFilters.cs diff --git a/Core/SerializeReferenceTypeRestrictionFilters.cs.meta b/Runtime/Core/SerializeReferenceTypeRestrictionFilters.cs.meta similarity index 100% rename from Core/SerializeReferenceTypeRestrictionFilters.cs.meta rename to Runtime/Core/SerializeReferenceTypeRestrictionFilters.cs.meta diff --git a/Runtime/Textus.SerializeReferenceUI.asmdef b/Runtime/Textus.SerializeReferenceUI.asmdef new file mode 100644 index 0000000..37d05e4 --- /dev/null +++ b/Runtime/Textus.SerializeReferenceUI.asmdef @@ -0,0 +1,14 @@ +{ + "name": "Textus.SerializeReferenceUI", + "rootNamespace": "", + "references": [], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Textus.SerializeReferenceUI.asmdef.meta b/Runtime/Textus.SerializeReferenceUI.asmdef.meta similarity index 100% rename from Textus.SerializeReferenceUI.asmdef.meta rename to Runtime/Textus.SerializeReferenceUI.asmdef.meta diff --git a/Textus.SerializeReferenceUI.asmdef b/Textus.SerializeReferenceUI.asmdef deleted file mode 100644 index c0f8320..0000000 --- a/Textus.SerializeReferenceUI.asmdef +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name": "Textus.SerializeReferenceUI" -}