MCPcopy Create free account
hub / github.com/esengine/esengine / addChild

Function addChild

packages/fairygui/src/display/DisplayObject.ts:302–304  ·  view source on GitHub ↗

* Add a child display object * 添加子显示对象

(child: DisplayObject)

Source from the content-addressed store, hash-verified

300 * 添加子显示对象
301 */
302 public addChild(child: DisplayObject): void {
303 this.addChildAt(child, this._children.length);
304 }
305
306 /**
307 * Add a child at specific index

Callers

nothing calls this directly

Calls 1

addChildAtMethod · 0.45

Tested by

no test coverage detected