Implemented in com.para.services
Description
Tool Class
Static Methods
Show3DTips | Displays 3D tips above the specified GameObject. |
Hide3DTips | Hides the 3D tips for specified GameObject. |
AddOutlineEffect | Adds the outline effect for the specified GameObject. |
DeleteOutlineEffect | Deletes the outline effect for the specified GameObject. |
Alert | Displays the native message alert box. |
Toast | Displays a native prompt, which will disappear automatically after a while. |
SetMainCamera | Sets a specific as the main camera |
ResetMainCamera | Resets the main camera as the official default camera. |
SetAvatarCover | Sets the cover of avatar pedestal. |
GetParaCamera | Gets ParaCamera camera objects. |
GetParaCameraPitch | Gets the pitch angle of a ParaCamera camera object. |
GetParaCameraYaw | Gets the yaw angle of a ParaCamera camera object. |
SetParaCameraPitch | Sets the pitch angle of a ParaCamera camera object. |
SetParaCameraOffset | Sets the offset of a ParaCamera camera object. |
SetParaCameraYaw | Sets the yaw angle of a ParaCamera camera object. |
SendChatMessage | Sends messages to the chat window. |
LoadAvatarById | Loads the resources of an Avatar corresponding to a specified ID. |
UnLoadAvatarById | Uninstalls the resources of an Avatar corresponding to a specified ID. |
SetParaCameraMaxPitch | Sets the maximum pitch angle for the official camera. |
SetParaCameraMinPitch | Sets the minimum pitch angle for the official camera. |
SetParaCameraFocus | Sets the object to be followed by TPCamera. |
SetVoiceChannelDistance | Sets the voice receiving range for a channel. |
GetServerTime | Gets the server time. |
GetServerUnixTime | Gets the Unix timestamp of the server. |
OpenWebView | Opens the web page within the app. |
FilterEmoji | Filters the emojis in the text string, and returns the filtered text string. |