添加Bot

STD库
服务端
Both Mobile and PC

添加Bot

声明

func CreateBot(difficulty BotDifficultyType, teamSeq int, out var createdEntity entity<Player>)
go

参数

输入

名称 类型 描述
难度 BotDifficulty Bot难度等级
队伍 Int Bot所属队伍

输出

名称 类型 描述
创建的实体 Player 创建出的Bot玩家实体