Declaration
public void OnAvatarLoaded(Action callback)
Parameter
Action callback | Responds to this callback function when the player's Avatar is fully loaded. |
Description
Responds to this callback function when the player's Avatar resources are fully loaded.
Example
local player = CS.ParaPlayerService.GetLocalPlayer()
if player ~= nil then
player.OnAvatarLoaded(function()
print("Player's Avatar load finish")
end)
end