* Add a relation to another object * 添加与另一对象的关联
(target: GObject, relationType: ERelationType, bUsePercent: boolean = false)
| 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 |