Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
## [3.0.7] - 2024-01-14
### Changes
- Add support for Visions OS keyboard.
  • Loading branch information
Unity Technologies committed Jan 14, 2024
1 parent 5671be3 commit fe40c0c
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog
These are the release notes for the TextMesh Pro UPM package which was first introduced with Unity 2018.1. Please see the following link for the Release Notes for prior versions of TextMesh Pro. http://digitalnativestudios.com/forum/index.php?topic=1363.0

## [3.0.7] - 2024-01-14
### Changes
- Add support for Visions OS keyboard.
## [3.0.6] - 2021-04-23
## [2.1.6]
## [1.5.6]
Expand Down
9 changes: 9 additions & 0 deletions Scripts/Runtime/TMP_InputField.cs
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,9 @@ public bool shouldHideSoftKeyboard
case RuntimePlatform.Android:
case RuntimePlatform.IPhonePlayer:
case RuntimePlatform.tvOS:
#if UNITY_XR_VISIONOS_SUPPORTED
case RuntimePlatform.VisionOS:
#endif
case RuntimePlatform.WSAPlayerX86:
case RuntimePlatform.WSAPlayerX64:
case RuntimePlatform.WSAPlayerARM:
Expand All @@ -444,6 +447,9 @@ public bool shouldHideSoftKeyboard
case RuntimePlatform.Android:
case RuntimePlatform.IPhonePlayer:
case RuntimePlatform.tvOS:
#if UNITY_XR_VISIONOS_SUPPORTED
case RuntimePlatform.VisionOS:
#endif
case RuntimePlatform.WSAPlayerX86:
case RuntimePlatform.WSAPlayerX64:
case RuntimePlatform.WSAPlayerARM:
Expand Down Expand Up @@ -477,6 +483,9 @@ private bool isKeyboardUsingEvents()
case RuntimePlatform.Android:
case RuntimePlatform.IPhonePlayer:
case RuntimePlatform.tvOS:
#if UNITY_XR_VISIONOS_SUPPORTED
case RuntimePlatform.VisionOS:
#endif
#if UNITY_2020_2_OR_NEWER
case RuntimePlatform.PS4:
#if !(UNITY_2020_2_1 || UNITY_2020_2_2)
Expand Down
9 changes: 8 additions & 1 deletion Scripts/Runtime/Unity.TextMeshPro.asmdef
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,12 @@
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": []
"defineConstraints": [],
"versionDefines": [
{
"name": "Unity",
"expression": "2022.3.16f1",
"define": "UNITY_XR_VISIONOS_SUPPORTED"
}
]
}
2 changes: 1 addition & 1 deletion ValidationExceptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[
{
"ValidationTest": "API Validation",
"PackageVersion": "3.0.6"
"PackageVersion": "3.0.7"
}
]
}
14 changes: 9 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.unity.textmeshpro",
"displayName": "TextMeshPro",
"version": "3.0.6",
"version": "3.0.7",
"unity": "2020.1",
"unityRelease": "0a10",
"description": "TextMeshPro is the ultimate text solution for Unity. It's the perfect replacement for Unity's UI Text and the legacy Text Mesh.\n\nPowerful and easy to use, TextMeshPro (also known as TMP) uses Advanced Text Rendering techniques along with a set of custom shaders; delivering substantial visual quality improvements while giving users incredible flexibility when it comes to text styling and texturing.\n\nTextMeshPro provides Improved Control over text formatting and layout with features like character, word, line and paragraph spacing, kerning, justified text, Links, over 30 Rich Text Tags available, support for Multi Font & Sprites, Custom Styles and more.\n\nGreat performance. Since the geometry created by TextMeshPro uses two triangles per character just like Unity's text components, this improved visual quality and flexibility comes at no additional performance cost.",
Expand All @@ -16,12 +16,16 @@
"dependencies": {
"com.unity.ugui": "1.0.0"
},
"_upm": {
"changelog": "### Changes\n- Add support for Visions OS keyboard."
},
"upmCi": {
"footprint": "65b544a6a7b5ced5a59258197527dcf530869f4f"
},
"documentationUrl": "https://docs.unity3d.com/Packages/[email protected]/manual/index.html",
"repository": {
"url": "https://github.cds.internal.unity3d.com/unity/com.unity.textmeshpro.git",
"type": "git",
"revision": "01e57e3b7de18af9dfe9baaa0a0ff5cc4765c899"
},
"upmCi": {
"footprint": "bfe9ad7192cdd29486fc5980b5ac7d0b3fafcec6"
"revision": "5c364f204e10eaec84fcbff640ad4d833774c1ed"
}
}

0 comments on commit fe40c0c

Please sign in to comment.