声明 func GetChildByIndex(parent entity<Entity>, index int) entity<Entity> go 参数 输入 名称 类型 描述 父节点 Entity 父节点实体 索引 Int 子节点索引 返回 类型 描述 Entity 子节点实体