Skip to content

YaUILoader

YaUILoader controls the loader in the UI.

Properties

string Url

CLIENT ONLY 
Gets the resource address of the loader.

NTexture Texture

CLIENT ONLY 
Attaches a texture to the loader.

Functions

void SetTexture(Texture texture)

CLIENT ONLY 
Sets the texture of the image.

void SetHeadIconByPlayerID(string playerID)

CLIENT ONLY 
Sets a player's head icon using the player's ID.

void GaussBlur()

CLIENT ONLY 
Sets gaussian blur for the loader's texture.

YaUIComponent GetComponent()

CLIENT ONLY 
Gets the YaUIComponent of the loader (only get YaUIComponent)

void SetEntityIconByEntity(YaEntity entity)

CLIENT ONLY 
Sets an entity's icon.

void DoDispose()

CLIENT ONLY 
Disposes of the loader.