声明 func GetRandomSpawnPosition(target entity<Player>) Vector3 go 参数 输入 名称 类型 描述 目标 Player 目标玩家 返回 类型 描述 Vector3 随机出生点坐标,没有符合条件的出生点时会返回靠近(0, 0, 0)的位置