示例#1
0
 public static string GetPlayerTag(VRCPlayerApi player, string tagName)
 {
     return(player.GetCyanEmuPlayer().GetTag(tagName));
 }
示例#2
0
 public static void ClearPlayerTag(VRCPlayerApi player)
 {
     player.GetCyanEmuPlayer().ClearTags();
 }
示例#3
0
 public static void SetPlayerTag(VRCPlayerApi player, string tagName, string tagValue)
 {
     player.GetCyanEmuPlayer().SetTag(tagName, tagValue);
 }
 public static void ClearPlayerTag(VRCPlayerApi player)
 {
     player.LogError("Clearing all player tags. VRCPlayerApi.ClearPlayerTags is a dangerous call, as it will clear all the tags and this might break prefabs that rely on them.");
     player.GetCyanEmuPlayer().ClearTags();
 }