通知客戶端顯示飄字

STD 庫
伺服器端與客戶端
可在 Mobile 端和 PC 端使用

通知目標玩家的用戶端顯示飄字

聲明

func NotifyShowTips(target entity<Player>, content object, color Color, duration int)
go

參數

輸入

名稱 類型 描述
目標 Player 目標玩家
內容 Object 飄字內容
叠加色 Color 飄字顏色,類型為顏色
持續時間 (ms) Int 飄字持續時間,單位為毫秒