根据索引获取指定子节点

STD库
Both Server and Client
Both Mobile and PC

根据索引获取目标父节点实体的指定子节点

声明

func GetChildByIndex(parent entity<Entity>, index int) entity<Entity>
go

参数

输入

名称 类型 描述
父节点 Entity 父节点实体
索引 Int 子节点索引

返回

类型 描述
Entity 子节点实体