PlayerWrapper.setAvatarData() method
Set the avatar data used to create the avatar component for the player
Signature:
setAvatarData(data: any): void;
Parameters
Parameter |
Type |
Description |
---|---|---|
data |
any |
void
Remarks
this must be set in the onPreload
handle of the script, before the avatar component is created