创建小地图图标

小地图
Both Server and Client
Both Mobile and PC

创建小地图图标

声明

func CreateMiniMapIcon(out var createdEntity entity<MiniMapIcon>, target entity<Player>, resource IconType)
go

参数

输入

名称 类型 描述
目标 Player 所属玩家,创建的小地图图标只有该玩家可见
资源 IconType 小地图图标资源路径

输出

名称 类型 描述
创建的实体 MiniMapIcon 创建的小地图图标实体