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

Method addRelation

packages/fairygui/src/core/GObject.ts:664–666  ·  view source on GitHub ↗

* Add a relation to another object * 添加与另一对象的关联

(target: GObject, relationType: ERelationType, bUsePercent: boolean = false)

Source from the content-addressed store, hash-verified

662 * 添加与另一对象的关联
663 */
664 public addRelation(target: GObject, relationType: ERelationType, bUsePercent: boolean = false): void {
665 this._relations?.add(target, relationType, bUsePercent);
666 }
667
668 /**
669 * Remove a relation

Callers 1

centerMethod · 0.95

Calls 1

addMethod · 0.45

Tested by

no test coverage detected