diff --git a/Assets/Textus/SerializeReferenceUI.meta b/Assets/Textus/SerializeReferenceUI.meta deleted file mode 100644 index 3bbf7b3..0000000 --- a/Assets/Textus/SerializeReferenceUI.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f549199d6eac96943ae073e003f12aa3 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Textus/SerializeReferenceUIExample.meta b/Assets/Textus/SerializeReferenceUIExample.meta deleted file mode 100644 index d6b82d3..0000000 --- a/Assets/Textus/SerializeReferenceUIExample.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f124bd3bbd4e5e44882fcc7ca4bbfd89 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleFolderCanBeSafelyRemoved.txt b/Assets/Textus/SerializeReferenceUIExample/ExampleFolderCanBeSafelyRemoved.txt deleted file mode 100644 index e69de29..0000000 diff --git a/Assets/Textus/SerializeReferenceUI/Core.meta b/Core.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUI/Core.meta rename to Core.meta diff --git a/Assets/Textus/SerializeReferenceUI/Core/ManagedReferenceUtility.cs b/Core/ManagedReferenceUtility.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUI/Core/ManagedReferenceUtility.cs rename to Core/ManagedReferenceUtility.cs diff --git a/Assets/Textus/SerializeReferenceUI/Core/ManagedReferenceUtility.cs.meta b/Core/ManagedReferenceUtility.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUI/Core/ManagedReferenceUtility.cs.meta rename to Core/ManagedReferenceUtility.cs.meta diff --git a/Assets/Textus/SerializeReferenceUI/Core/SerializeReferenceGenericSelectionMenu.cs b/Core/SerializeReferenceGenericSelectionMenu.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUI/Core/SerializeReferenceGenericSelectionMenu.cs rename to Core/SerializeReferenceGenericSelectionMenu.cs diff --git a/Assets/Textus/SerializeReferenceUI/Core/SerializeReferenceGenericSelectionMenu.cs.meta b/Core/SerializeReferenceGenericSelectionMenu.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUI/Core/SerializeReferenceGenericSelectionMenu.cs.meta rename to Core/SerializeReferenceGenericSelectionMenu.cs.meta diff --git a/Assets/Textus/SerializeReferenceUI/Core/SerializeReferenceTypeRestrictionFilters.cs b/Core/SerializeReferenceTypeRestrictionFilters.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUI/Core/SerializeReferenceTypeRestrictionFilters.cs rename to Core/SerializeReferenceTypeRestrictionFilters.cs diff --git a/Assets/Textus/SerializeReferenceUI/Core/SerializeReferenceTypeRestrictionFilters.cs.meta b/Core/SerializeReferenceTypeRestrictionFilters.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUI/Core/SerializeReferenceTypeRestrictionFilters.cs.meta rename to Core/SerializeReferenceTypeRestrictionFilters.cs.meta diff --git a/Assets/Textus/SerializeReferenceUI/DefaultAttributes.meta b/DefaultAttributes.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultAttributes.meta rename to DefaultAttributes.meta diff --git a/Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceButtonAttribute.meta b/DefaultAttributes/SerializeReferenceButtonAttribute.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceButtonAttribute.meta rename to DefaultAttributes/SerializeReferenceButtonAttribute.meta diff --git a/Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttribute.cs b/DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttribute.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttribute.cs rename to DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttribute.cs diff --git a/Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttribute.cs.meta b/DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttribute.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttribute.cs.meta rename to DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttribute.cs.meta diff --git a/Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttributeDrawer.cs b/DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttributeDrawer.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttributeDrawer.cs rename to DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttributeDrawer.cs diff --git a/Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttributeDrawer.cs.meta b/DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttributeDrawer.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttributeDrawer.cs.meta rename to DefaultAttributes/SerializeReferenceButtonAttribute/SerializeReferenceButtonAttributeDrawer.cs.meta diff --git a/Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceMenuAttribute.meta b/DefaultAttributes/SerializeReferenceMenuAttribute.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceMenuAttribute.meta rename to DefaultAttributes/SerializeReferenceMenuAttribute.meta diff --git a/Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttribute.cs b/DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttribute.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttribute.cs rename to DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttribute.cs diff --git a/Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttribute.cs.meta b/DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttribute.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttribute.cs.meta rename to DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttribute.cs.meta diff --git a/Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttributeDrawer.cs b/DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttributeDrawer.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttributeDrawer.cs rename to DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttributeDrawer.cs diff --git a/Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttributeDrawer.cs.meta b/DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttributeDrawer.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttributeDrawer.cs.meta rename to DefaultAttributes/SerializeReferenceMenuAttribute/SerializeReferenceMenuAttributeDrawer.cs.meta diff --git a/Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceUIRestrictionExcludeTypes.meta b/DefaultAttributes/SerializeReferenceUIRestrictionExcludeTypes.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceUIRestrictionExcludeTypes.meta rename to DefaultAttributes/SerializeReferenceUIRestrictionExcludeTypes.meta diff --git a/Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceUIRestrictionExcludeTypes/SerializeReferenceUIRestrictionExcludeTypes.cs b/DefaultAttributes/SerializeReferenceUIRestrictionExcludeTypes/SerializeReferenceUIRestrictionExcludeTypes.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceUIRestrictionExcludeTypes/SerializeReferenceUIRestrictionExcludeTypes.cs rename to DefaultAttributes/SerializeReferenceUIRestrictionExcludeTypes/SerializeReferenceUIRestrictionExcludeTypes.cs diff --git a/Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceUIRestrictionExcludeTypes/SerializeReferenceUIRestrictionExcludeTypes.cs.meta b/DefaultAttributes/SerializeReferenceUIRestrictionExcludeTypes/SerializeReferenceUIRestrictionExcludeTypes.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceUIRestrictionExcludeTypes/SerializeReferenceUIRestrictionExcludeTypes.cs.meta rename to DefaultAttributes/SerializeReferenceUIRestrictionExcludeTypes/SerializeReferenceUIRestrictionExcludeTypes.cs.meta diff --git a/Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceUIRestrictionIncludeTypes.meta b/DefaultAttributes/SerializeReferenceUIRestrictionIncludeTypes.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceUIRestrictionIncludeTypes.meta rename to DefaultAttributes/SerializeReferenceUIRestrictionIncludeTypes.meta diff --git a/Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceUIRestrictionIncludeTypes/SerializeReferenceUIRestrictionIncludeTypes.cs b/DefaultAttributes/SerializeReferenceUIRestrictionIncludeTypes/SerializeReferenceUIRestrictionIncludeTypes.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceUIRestrictionIncludeTypes/SerializeReferenceUIRestrictionIncludeTypes.cs rename to DefaultAttributes/SerializeReferenceUIRestrictionIncludeTypes/SerializeReferenceUIRestrictionIncludeTypes.cs diff --git a/Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceUIRestrictionIncludeTypes/SerializeReferenceUIRestrictionIncludeTypes.cs.meta b/DefaultAttributes/SerializeReferenceUIRestrictionIncludeTypes/SerializeReferenceUIRestrictionIncludeTypes.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializeReferenceUIRestrictionIncludeTypes/SerializeReferenceUIRestrictionIncludeTypes.cs.meta rename to DefaultAttributes/SerializeReferenceUIRestrictionIncludeTypes/SerializeReferenceUIRestrictionIncludeTypes.cs.meta diff --git a/Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializedReferenceUIDefaultTypeRestrictions.cs b/DefaultAttributes/SerializedReferenceUIDefaultTypeRestrictions.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializedReferenceUIDefaultTypeRestrictions.cs rename to DefaultAttributes/SerializedReferenceUIDefaultTypeRestrictions.cs diff --git a/Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializedReferenceUIDefaultTypeRestrictions.cs.meta b/DefaultAttributes/SerializedReferenceUIDefaultTypeRestrictions.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultAttributes/SerializedReferenceUIDefaultTypeRestrictions.cs.meta rename to DefaultAttributes/SerializedReferenceUIDefaultTypeRestrictions.cs.meta diff --git a/Assets/Textus/SerializeReferenceUI/DefaultUI.meta b/DefaultUI.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultUI.meta rename to DefaultUI.meta diff --git a/Assets/Textus/SerializeReferenceUI/DefaultUI/SerializeReferenceInspectorButton.cs b/DefaultUI/SerializeReferenceInspectorButton.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultUI/SerializeReferenceInspectorButton.cs rename to DefaultUI/SerializeReferenceInspectorButton.cs diff --git a/Assets/Textus/SerializeReferenceUI/DefaultUI/SerializeReferenceInspectorButton.cs.meta b/DefaultUI/SerializeReferenceInspectorButton.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultUI/SerializeReferenceInspectorButton.cs.meta rename to DefaultUI/SerializeReferenceInspectorButton.cs.meta diff --git a/Assets/Textus/SerializeReferenceUI/DefaultUI/SerializeReferenceInspectorMiddleMouseMenu.cs b/DefaultUI/SerializeReferenceInspectorMiddleMouseMenu.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultUI/SerializeReferenceInspectorMiddleMouseMenu.cs rename to DefaultUI/SerializeReferenceInspectorMiddleMouseMenu.cs diff --git a/Assets/Textus/SerializeReferenceUI/DefaultUI/SerializeReferenceInspectorMiddleMouseMenu.cs.meta b/DefaultUI/SerializeReferenceInspectorMiddleMouseMenu.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUI/DefaultUI/SerializeReferenceInspectorMiddleMouseMenu.cs.meta rename to DefaultUI/SerializeReferenceInspectorMiddleMouseMenu.cs.meta diff --git a/Assets/Textus/SerializeReferenceUI/LICENSE.txt b/LICENSE.txt similarity index 100% rename from Assets/Textus/SerializeReferenceUI/LICENSE.txt rename to LICENSE.txt diff --git a/Assets/Textus/SerializeReferenceUI/LICENSE.txt.meta b/LICENSE.txt.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUI/LICENSE.txt.meta rename to LICENSE.txt.meta diff --git a/README.md b/README.md index 3fea68e..c356ecc 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,28 @@ Future plans: Possibly - copy / paste. - menu with searchbar. + +## Installation +Use the + inside the Package Manager window and add this URL: +```json +"com.textus-games.serialized-reference-ui": "https://github.com/popcron/UnitySerializedReferenceUI.git" +``` +Or add id to your `packages.json` file manually (located inside the project's Packages folder). + +## Example +![Woah UI woah woah!!!](https://cdn.discordapp.com/attachments/784916261871550494/847185548632260628/unknown.png) +```cs +[Serializable] +public class Slot +{ + [SerializeReference, SerializeReferenceButton] + public Item item; +} + +[Serializable] +public class Item {} +public class Metal : Item {} +public class Wood : Item {} +``` + +For more examples, this package contains two Samples that can be imported into your project. \ No newline at end of file diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleFolderCanBeSafelyRemoved.txt.meta b/README.md.meta similarity index 75% rename from Assets/Textus/SerializeReferenceUIExample/ExampleFolderCanBeSafelyRemoved.txt.meta rename to README.md.meta index dc36171..28d00d6 100644 --- a/Assets/Textus/SerializeReferenceUIExample/ExampleFolderCanBeSafelyRemoved.txt.meta +++ b/README.md.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 05ba0cd389296cf44af17c4e8362fb75 +guid: fd7a1ed385c62e3499468681006ce64e TextScriptImporter: externalObjects: {} userData: diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleAnimalWorldAssembly.meta b/Samples~/ExampleAnimalWorldAssembly.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleAnimalWorldAssembly.meta rename to Samples~/ExampleAnimalWorldAssembly.meta diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleAnimalWorldAssembly/AmimalWorld.asmdef b/Samples~/ExampleAnimalWorldAssembly/AmimalWorld.asmdef similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleAnimalWorldAssembly/AmimalWorld.asmdef rename to Samples~/ExampleAnimalWorldAssembly/AmimalWorld.asmdef diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleAnimalWorldAssembly/AmimalWorld.asmdef.meta b/Samples~/ExampleAnimalWorldAssembly/AmimalWorld.asmdef.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleAnimalWorldAssembly/AmimalWorld.asmdef.meta rename to Samples~/ExampleAnimalWorldAssembly/AmimalWorld.asmdef.meta diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleAnimalWorldAssembly/Animals.meta b/Samples~/ExampleAnimalWorldAssembly/Animals.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleAnimalWorldAssembly/Animals.meta rename to Samples~/ExampleAnimalWorldAssembly/Animals.meta diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleAnimalWorldAssembly/Animals/AnimalBase.cs b/Samples~/ExampleAnimalWorldAssembly/Animals/AnimalBase.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleAnimalWorldAssembly/Animals/AnimalBase.cs rename to Samples~/ExampleAnimalWorldAssembly/Animals/AnimalBase.cs diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleAnimalWorldAssembly/Animals/AnimalBase.cs.meta b/Samples~/ExampleAnimalWorldAssembly/Animals/AnimalBase.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleAnimalWorldAssembly/Animals/AnimalBase.cs.meta rename to Samples~/ExampleAnimalWorldAssembly/Animals/AnimalBase.cs.meta diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleAnimalWorldAssembly/Animals/IAnimal.cs b/Samples~/ExampleAnimalWorldAssembly/Animals/IAnimal.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleAnimalWorldAssembly/Animals/IAnimal.cs rename to Samples~/ExampleAnimalWorldAssembly/Animals/IAnimal.cs diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleAnimalWorldAssembly/Animals/IAnimal.cs.meta b/Samples~/ExampleAnimalWorldAssembly/Animals/IAnimal.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleAnimalWorldAssembly/Animals/IAnimal.cs.meta rename to Samples~/ExampleAnimalWorldAssembly/Animals/IAnimal.cs.meta diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleAnimalWorldAssembly/Animals/MammalBase.cs b/Samples~/ExampleAnimalWorldAssembly/Animals/MammalBase.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleAnimalWorldAssembly/Animals/MammalBase.cs rename to Samples~/ExampleAnimalWorldAssembly/Animals/MammalBase.cs diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleAnimalWorldAssembly/Animals/MammalBase.cs.meta b/Samples~/ExampleAnimalWorldAssembly/Animals/MammalBase.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleAnimalWorldAssembly/Animals/MammalBase.cs.meta rename to Samples~/ExampleAnimalWorldAssembly/Animals/MammalBase.cs.meta diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly.meta b/Samples~/ExampleOfUsageFromDifferentAssembly.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly.meta rename to Samples~/ExampleOfUsageFromDifferentAssembly.meta diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals.meta b/Samples~/ExampleOfUsageFromDifferentAssembly/Animals.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals.meta rename to Samples~/ExampleOfUsageFromDifferentAssembly/Animals.meta diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/AnimalStruct.cs b/Samples~/ExampleOfUsageFromDifferentAssembly/Animals/AnimalStruct.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/AnimalStruct.cs rename to Samples~/ExampleOfUsageFromDifferentAssembly/Animals/AnimalStruct.cs diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/AnimalStruct.cs.meta b/Samples~/ExampleOfUsageFromDifferentAssembly/Animals/AnimalStruct.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/AnimalStruct.cs.meta rename to Samples~/ExampleOfUsageFromDifferentAssembly/Animals/AnimalStruct.cs.meta diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/ApeBase.cs b/Samples~/ExampleOfUsageFromDifferentAssembly/Animals/ApeBase.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/ApeBase.cs rename to Samples~/ExampleOfUsageFromDifferentAssembly/Animals/ApeBase.cs diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/ApeBase.cs.meta b/Samples~/ExampleOfUsageFromDifferentAssembly/Animals/ApeBase.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/ApeBase.cs.meta rename to Samples~/ExampleOfUsageFromDifferentAssembly/Animals/ApeBase.cs.meta diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/CatBase.cs b/Samples~/ExampleOfUsageFromDifferentAssembly/Animals/CatBase.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/CatBase.cs rename to Samples~/ExampleOfUsageFromDifferentAssembly/Animals/CatBase.cs diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/CatBase.cs.meta b/Samples~/ExampleOfUsageFromDifferentAssembly/Animals/CatBase.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/CatBase.cs.meta rename to Samples~/ExampleOfUsageFromDifferentAssembly/Animals/CatBase.cs.meta diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/DogBase.cs b/Samples~/ExampleOfUsageFromDifferentAssembly/Animals/DogBase.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/DogBase.cs rename to Samples~/ExampleOfUsageFromDifferentAssembly/Animals/DogBase.cs diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/DogBase.cs.meta b/Samples~/ExampleOfUsageFromDifferentAssembly/Animals/DogBase.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/DogBase.cs.meta rename to Samples~/ExampleOfUsageFromDifferentAssembly/Animals/DogBase.cs.meta diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/FishBase.cs b/Samples~/ExampleOfUsageFromDifferentAssembly/Animals/FishBase.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/FishBase.cs rename to Samples~/ExampleOfUsageFromDifferentAssembly/Animals/FishBase.cs diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/FishBase.cs.meta b/Samples~/ExampleOfUsageFromDifferentAssembly/Animals/FishBase.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/FishBase.cs.meta rename to Samples~/ExampleOfUsageFromDifferentAssembly/Animals/FishBase.cs.meta diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/InsectBase.cs b/Samples~/ExampleOfUsageFromDifferentAssembly/Animals/InsectBase.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/InsectBase.cs rename to Samples~/ExampleOfUsageFromDifferentAssembly/Animals/InsectBase.cs diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/InsectBase.cs.meta b/Samples~/ExampleOfUsageFromDifferentAssembly/Animals/InsectBase.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/InsectBase.cs.meta rename to Samples~/ExampleOfUsageFromDifferentAssembly/Animals/InsectBase.cs.meta diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/NotSupportedTypes.meta b/Samples~/ExampleOfUsageFromDifferentAssembly/NotSupportedTypes.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/NotSupportedTypes.meta rename to Samples~/ExampleOfUsageFromDifferentAssembly/NotSupportedTypes.meta diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/NotSupportedTypes/ExampleOfNotSupportedTypes.cs b/Samples~/ExampleOfUsageFromDifferentAssembly/NotSupportedTypes/ExampleOfNotSupportedTypes.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/NotSupportedTypes/ExampleOfNotSupportedTypes.cs rename to Samples~/ExampleOfUsageFromDifferentAssembly/NotSupportedTypes/ExampleOfNotSupportedTypes.cs diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/NotSupportedTypes/ExampleOfNotSupportedTypes.cs.meta b/Samples~/ExampleOfUsageFromDifferentAssembly/NotSupportedTypes/ExampleOfNotSupportedTypes.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/NotSupportedTypes/ExampleOfNotSupportedTypes.cs.meta rename to Samples~/ExampleOfUsageFromDifferentAssembly/NotSupportedTypes/ExampleOfNotSupportedTypes.cs.meta diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/SerializedReferenceExample.asmdef b/Samples~/ExampleOfUsageFromDifferentAssembly/SerializedReferenceExample.asmdef similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/SerializedReferenceExample.asmdef rename to Samples~/ExampleOfUsageFromDifferentAssembly/SerializedReferenceExample.asmdef diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/SerializedReferenceExample.asmdef.meta b/Samples~/ExampleOfUsageFromDifferentAssembly/SerializedReferenceExample.asmdef.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/SerializedReferenceExample.asmdef.meta rename to Samples~/ExampleOfUsageFromDifferentAssembly/SerializedReferenceExample.asmdef.meta diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample.meta b/Samples~/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample.meta rename to Samples~/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample.meta diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Scenes.meta b/Samples~/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Scenes.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Scenes.meta rename to Samples~/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Scenes.meta diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Scenes/SampleSceneSettings.lighting b/Samples~/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Scenes/SampleSceneSettings.lighting similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Scenes/SampleSceneSettings.lighting rename to Samples~/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Scenes/SampleSceneSettings.lighting diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Scenes/SampleSceneSettings.lighting.meta b/Samples~/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Scenes/SampleSceneSettings.lighting.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Scenes/SampleSceneSettings.lighting.meta rename to Samples~/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Scenes/SampleSceneSettings.lighting.meta diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Scenes/SerializeRefereneceUIExampleScene.unity b/Samples~/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Scenes/SerializeRefereneceUIExampleScene.unity similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Scenes/SerializeRefereneceUIExampleScene.unity rename to Samples~/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Scenes/SerializeRefereneceUIExampleScene.unity diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Scenes/SerializeRefereneceUIExampleScene.unity.meta b/Samples~/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Scenes/SerializeRefereneceUIExampleScene.unity.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Scenes/SerializeRefereneceUIExampleScene.unity.meta rename to Samples~/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Scenes/SerializeRefereneceUIExampleScene.unity.meta diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Test.cs b/Samples~/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Test.cs similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Test.cs rename to Samples~/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Test.cs diff --git a/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Test.cs.meta b/Samples~/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Test.cs.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Test.cs.meta rename to Samples~/ExampleOfUsageFromDifferentAssembly/TestingAnimalWorldExample/Test.cs.meta diff --git a/Assets/Textus/SerializeReferenceUI/Textus.SerializeReferenceUI.asmdef b/Textus.SerializeReferenceUI.asmdef similarity index 100% rename from Assets/Textus/SerializeReferenceUI/Textus.SerializeReferenceUI.asmdef rename to Textus.SerializeReferenceUI.asmdef diff --git a/Assets/Textus/SerializeReferenceUI/Textus.SerializeReferenceUI.asmdef.meta b/Textus.SerializeReferenceUI.asmdef.meta similarity index 100% rename from Assets/Textus/SerializeReferenceUI/Textus.SerializeReferenceUI.asmdef.meta rename to Textus.SerializeReferenceUI.asmdef.meta diff --git a/package.json b/package.json new file mode 100644 index 0000000..ddc9719 --- /dev/null +++ b/package.json @@ -0,0 +1,29 @@ +{ + "name": "com.textus-games.serialized-reference-ui", + "version": "1.0.0", + "displayName": "Serialize Reference UI", + "description": "The UI for Unity's SerealizedReference attribute. It allows changing the instance type of a field right in the editor.", + "unity": "2019.3", + "keywords": + [ + "serialization", + "editor", + "utility" + ], + "samples": + [ + { + "displayName": "Animal world Assembly", + "path": "Samples~/ExampleAnimalWorldAssembly" + }, + { + "displayName": "Usage from different Assembly", + "path": "Samples~/ExampleOfUsageFromDifferentAssembly" + } + ], + "author": + { + "name": "Textus Games", + "url": "https://github.com/TextusGames" + } +} \ No newline at end of file diff --git a/Assets/Textus.meta b/package.json.meta similarity index 57% rename from Assets/Textus.meta rename to package.json.meta index 33f48ab..c292b7f 100644 --- a/Assets/Textus.meta +++ b/package.json.meta @@ -1,7 +1,6 @@ fileFormatVersion: 2 -guid: 45856e53c605df64baf0e89751741df7 -folderAsset: yes -DefaultImporter: +guid: bea6fab46aed07d488468ef87df6c1f5 +PackageManifestImporter: externalObjects: {} userData: assetBundleName: