diff --git a/Editor/UnityUIExtensions.Editor.asmdef b/Editor/UnityUIExtensions.Editor.asmdef new file mode 100644 index 0000000..a6ccce7 --- /dev/null +++ b/Editor/UnityUIExtensions.Editor.asmdef @@ -0,0 +1,18 @@ +{ + "name": "UnityUIExtensions.editor", + "references": [ + "GUID:343deaaf83e0cee4ca978e7df0b80d21", + "GUID:2bafac87e7f4b9b418d9448d219b01ab", + "GUID:cf414061cae3a954baf92763590f3127" + ], + "includePlatforms": [ + "Editor" + ], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [] +} \ No newline at end of file diff --git a/UnityUIExtensions-2019-1.unitypackage.meta b/Editor/UnityUIExtensions.Editor.asmdef.meta similarity index 59% rename from UnityUIExtensions-2019-1.unitypackage.meta rename to Editor/UnityUIExtensions.Editor.asmdef.meta index d8c59e1..ba5e548 100644 --- a/UnityUIExtensions-2019-1.unitypackage.meta +++ b/Editor/UnityUIExtensions.Editor.asmdef.meta @@ -1,6 +1,6 @@ fileFormatVersion: 2 -guid: 9f71b9db6a45e5443a83cb8095085d47 -DefaultImporter: +guid: c053729641303074282de705dbd4b1b8 +AssemblyDefinitionImporter: externalObjects: {} userData: assetBundleName: diff --git a/Examples/UnityUIExtensions.Examples.asmdef b/Examples/UnityUIExtensions.Examples.asmdef new file mode 100644 index 0000000..c2446be --- /dev/null +++ b/Examples/UnityUIExtensions.Examples.asmdef @@ -0,0 +1,14 @@ +{ + "name": "UnityUIExtensions.examples", + "references": [ + "GUID:cf414061cae3a954baf92763590f3127" + ], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [] +} \ No newline at end of file diff --git a/Examples/UnityUIExtensions.Examples.asmdef.meta b/Examples/UnityUIExtensions.Examples.asmdef.meta new file mode 100644 index 0000000..82e0f86 --- /dev/null +++ b/Examples/UnityUIExtensions.Examples.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 57c81f7dab5e78246ba6f1744e8ec715 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Scripts/Controls/TextPic.cs b/Scripts/Controls/TextPic.cs index 038e164..3894026 100644 --- a/Scripts/Controls/TextPic.cs +++ b/Scripts/Controls/TextPic.cs @@ -98,7 +98,13 @@ namespace UnityEngine.UI.Extensions { // Used for custom selection as a variable for other scripts private bool selected = false; - // Positions of images for icon placement + public bool Selected + { + get { return selected; } + set { selected = value; } + } + + // Positions of images for icon placement private List positions = new List(); // Little hack to support multiple hrefs with same name diff --git a/UnityUIExtensions-2019-1.unitypackage b/UnityUIExtensions-2019-1.unitypackage deleted file mode 100644 index aa8bd6f..0000000 Binary files a/UnityUIExtensions-2019-1.unitypackage and /dev/null differ diff --git a/UnityUIExtensions.asmdef b/UnityUIExtensions.asmdef new file mode 100644 index 0000000..66e9532 --- /dev/null +++ b/UnityUIExtensions.asmdef @@ -0,0 +1,14 @@ +{ + "name": "UnityUIExtensions", + "references": [ + "GUID:2bafac87e7f4b9b418d9448d219b01ab" + ], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [] +} \ No newline at end of file diff --git a/UnityUIExtensions.asmdef.meta b/UnityUIExtensions.asmdef.meta new file mode 100644 index 0000000..064e220 --- /dev/null +++ b/UnityUIExtensions.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: cf414061cae3a954baf92763590f3127 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/package.json b/package.json index 3106ffa..972786e 100644 --- a/package.json +++ b/package.json @@ -1,18 +1,19 @@ { - "name": "unity-ui-extensions", - "version": "2.0.1", + "name": "com.unity.uiextensions", + "version": "2.1.0", "description": "An extension project for the Unity3D UI system, all crafted and contributed by the awesome Unity community", "author": "Simon darkside Jackson <@SimonDarksideJ>", "contributors": [{ "name": "SimonDarksideJ", "twitter": "@SimonDarksideJ" }], + "unity": "2019.1", "repository": { "type": "hg", - "url": "https://ddreaper@bitbucket.org/ddreaper/unity-ui-extensions" + "url": "https://ddreaper@bitbucket.org/UnityUIExtensions/unity-ui-extensions" }, "bugs": { - "url": "https://bitbucket.org/ddreaper/unity-ui-extensions/issues" + "url": "https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/issues" }, "keywords": [ "Unity3D", @@ -20,5 +21,5 @@ "Unity UI", "UI Extensions" ], - "license": "BSD" + "license": "BSD3" } \ No newline at end of file