Player Data Types

Description

A barebones examples that demonstrates data types supported by the PlayerData interface. Supported data types include:

  • bool
  • byte
  • byte[]
  • int
  • float
  • double
  • long
  • short
  • string
  • sbyte
  • uint
  • ulong
  • ushort
  • Vector2
  • Vector3
  • Vector4
  • Quaternion
  • Color
  • Color32

How to use it

In Client:

  1. Join the world
  2. Click button “Set Test Data”
  3. Observe the display updating with the test data

In Editor:

  1. Open the VRChat SDK > Utilities > ClientSim Player Data editor window
  2. Observe the test data update here, as well, as you press the button in Play Mode
  3. You can clear and re-set the test data
  4. You can open the JSON file containing containing the test data, update it manually, and hit Refresh in the editor window to display the updated test data
1 Like