Skip to main content

ZepetoPlayer

ZEPETO.Character.Controller.ZepetoPlayer

Represents a ZEPETO player.

Hierarchy

Constructors

constructor

new ZepetoPlayer()

Inherited from

System.Object.constructor

Accessors

character

get character(): ZepetoCharacter

ZEPETO character of the player.

Returns

ZepetoCharacter


isLocalPlayer

get isLocalPlayer(): boolean

Indicates whether it is a local player.

Returns

boolean


name

get name(): string

Player's user name, set by the user in the ZEPETO App.

Returns

string


userId

get userId(): string

Player's user ID, a unique randomized ID assigned upon account creation.

Returns

string

Methods

GetProfileTextureAsync

GetProfileTextureAsync($complete): void

Retrieves the profile image of the player. Throws a general Exception.

Parameters

NameTypeDescription
$completeAction$1<Texture2D>Callback function to handle the retrieved profile image.

Returns

void


Release

Release(): void

Releases the ZEPETO player object.

Returns

void