跳到主要内容

attach_to_parent

以指定名称附加到指定父节点上

声明

bool attach_to_parent(object parent, string name = nil)

参数

参数名描述
parent父节点对象
name子节点名称

返回值

true - 附加成功, false - 附加失败

使用方式

返回文档