ParaUtility

Implemented in com.para.services

Description

Tool Class

Static Methods

Show3DTipsDisplays 3D tips above the specified GameObject.
Hide3DTipsHides the 3D tips for specified GameObject.
AddOutlineEffectAdds the outline effect for the specified GameObject.
DeleteOutlineEffectDeletes the outline effect for the specified GameObject.
AlertDisplays the native message alert box.
ToastDisplays a native prompt, which will disappear automatically after a while.
SetMainCameraSets a specific as the main camera
ResetMainCameraResets the main camera as the official default camera.
SetAvatarCoverSets the cover of avatar pedestal.
GetParaCameraGets ParaCamera camera objects.
GetParaCameraPitchGets the pitch angle of a ParaCamera camera object.
GetParaCameraYawGets the yaw angle of a ParaCamera camera object.
SetParaCameraPitchSets the pitch angle of a ParaCamera camera object.
SetParaCameraOffsetSets the offset of a ParaCamera camera object.
SetParaCameraYawSets the yaw angle of a ParaCamera camera object.
SendChatMessageSends messages to the chat window.
LoadAvatarByIdLoads the resources of an Avatar corresponding to a specified ID.
UnLoadAvatarByIdUninstalls the resources of an Avatar corresponding to a specified ID.
SetParaCameraMaxPitchSets the maximum pitch angle for the official camera.
SetParaCameraMinPitchSets the minimum pitch angle for the official camera.
SetParaCameraFocusSets the object to be followed by TPCamera.
SetVoiceChannelDistanceSets the voice receiving range for a channel.
GetServerTimeGets the server time.
GetServerUnixTimeGets the Unix timestamp of the server.
OpenWebViewOpens the web page within the app.
FilterEmojiFilters the emojis in the text string, and returns the filtered text string.