聲明 func GetRandomSpawnPosition(target entity<Player>) Vector3 go 參數 輸入 名稱 類型 描述 目標 Player 目標玩家 返回 類型 描述 Vector3 隨機出生點座標,沒有符合條件的出生點時會回到靠近(0, 0, 0)的位置