Relations
命名空间:FairyGUI
源码:Assets/Scripts/UI/Relations.cs (行 10)
public class Relations
构造函数
Relations(GObject)
public Relations(GObject owner);
| 参数 | 类型 | 说明 |
|---|---|---|
owner | GObject |
源码:UI/Relations.cs (行 17)
字段
handling
public GObject handling;
源码:UI/Relations.cs (行 15)
方法
Add(GObject, RelationType)
public void Add(GObject target, RelationType relationType);
| 参数 | 类型 | 说明 |
|---|---|---|
target | GObject | |
relationType | RelationType |
源码:UI/Relations.cs (行 28)
Add(GObject, RelationType, bool)
public void Add(GObject target, RelationType relationType, bool usePercent);
| 参数 | 类型 | 说明 |
|---|---|---|
target | GObject | |
relationType | RelationType | |
usePercent | bool |
源码:UI/Relations.cs (行 39)
ClearAll()
public void ClearAll();
源码:UI/Relations.cs (行 128)
ClearFor(GObject)
public void ClearFor(GObject target);
| 参数 | 类型 | 说明 |
|---|---|---|
target | GObject |
源码:UI/Relations.cs (行 107)
Contains(GObject)
public bool Contains(GObject target);
| 参数 | 类型 | 说明 |
|---|---|---|
target | GObject |
源码:UI/Relations.cs (行 91)
CopyFrom(Relations)
public void CopyFrom(Relations source);
| 参数 | 类型 | 说明 |
|---|---|---|
source | Relations |
源码:UI/Relations.cs (行 143)
Dispose()
public void Dispose();
源码:UI/Relations.cs (行 159)
OnOwnerSizeChanged(float, float, bool)
public void OnOwnerSizeChanged(float dWidth, float dHeight, bool applyPivot);
| 参数 | 类型 | 说明 |
|---|---|---|
dWidth | float | |
dHeight | float | |
applyPivot | bool |
源码:UI/Relations.cs (行 171)
Remove(GObject, RelationType)
public void Remove(GObject target, RelationType relationType);
| 参数 | 类型 | 说明 |
|---|---|---|
target | GObject | |
relationType | RelationType |
源码:UI/Relations.cs (行 62)
Setup(ByteBuffer, bool)
public void Setup(ByteBuffer buffer, bool parentToChild);
| 参数 | 类型 | 说明 |
|---|---|---|
buffer | ByteBuffer | |
parentToChild | bool |
源码:UI/Relations.cs (行 192)
属性
isEmpty
public bool isEmpty { get; }
源码:UI/Relations.cs (行 184)