From 0da151d4a24b9474824141100d9a2ac8c2577583 Mon Sep 17 00:00:00 2001 From: Lala Sabathil Date: Thu, 5 Jun 2025 08:55:09 +0200 Subject: [PATCH 1/2] docs: fix incorrect description for player tags Parts of the descriptions where switched --- Tools/Docusaurus/docs/VRChat-API.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/Docusaurus/docs/VRChat-API.md b/Tools/Docusaurus/docs/VRChat-API.md index 802fcd17..4c69bc4c 100644 --- a/Tools/Docusaurus/docs/VRChat-API.md +++ b/Tools/Docusaurus/docs/VRChat-API.md @@ -168,8 +168,8 @@ UdonBehaviour behaviour = (UdonBehaviour)GetComponent(typeof(UdonBehaviour)); | | void | TeleportTo([Vector3](https://docs.unity3d.com/ScriptReference/Vector3.html) teleportPos, [Quaternion](https://docs.unity3d.com/ScriptReference/Quaternion.html) teleportRot, [SpawnOrientation](#spawnorientation) teleportOrientation) | Teleports the player to the position, rotation, and the spawn orientation | | | void | TeleportTo([Vector3](https://docs.unity3d.com/ScriptReference/Vector3.html) teleportPos, [Quaternion](https://docs.unity3d.com/ScriptReference/Quaternion.html) teleportRot, [SpawnOrientation](#spawnorientation) teleportOrientation, bool lerpOnRemote) | Teleports the player to the position, rotation, the spawn orientation, and if you want to lerp on remote | | | void | EnablePickup(bool enable) | Set if the player can use pickups or not (*Need Testing*) | -| | void | SetPlayerTag(string tagName, string tagValue) | Assigns a value to the tag for the player. Returns null if the tag has not been assigned. Note that player tags are not synchronized to remote clients. | -| | string | GetPlayerTag(string tagName) | Returns the value of the given tag for the player. Assign a value of null to clear the tag. | +| | void | SetPlayerTag(string tagName, string tagValue) | Assigns a value to the tag for the player. Assign a value of null to clear the tag. Note that player tags are not synchronized to remote clients. | +| | string | GetPlayerTag(string tagName) | Returns the value of the given tag for the player. Returns null if the tag has not been assigned.| | | void | ClearPlayerTags() | Clears the tags on the given player | | | void | SetRunSpeed(float speed) | Sets the player run speed | | | void | SetWalkSpeed(float speed) | Sets the players walk speed | From fa65609e1479abf7c3aa7d16b374f9f0bd156214 Mon Sep 17 00:00:00 2001 From: Lala Sabathil Date: Thu, 5 Jun 2025 23:37:50 +0200 Subject: [PATCH 2/2] fix: typo in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b2fac98b..181456bc 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ Return to VRChat - open the "Worlds" menu, then scroll down to the section named ## Visual Studio Code Integration -You can follow [this video guide](https://www.youtube.com/watch?v=ihVAKiJdd40) to get Intellisense for C# within your Unity project in Visual Stido Code (VS Code), inlcuding libraries such as UdonSharp. +You can follow [this video guide](https://www.youtube.com/watch?v=ihVAKiJdd40) to get Intellisense for C# within your Unity project in Visual Studio Code (VS Code), inlcuding libraries such as UdonSharp. ## Credits