Relations
Namespace:FairyGUI
Source:Assets/Scripts/UI/Relations.cs (line 10)
public class Relations
Constructors
Relations(GObject)
public Relations(GObject owner);
| Parameter | Type | Description |
|---|---|---|
owner | GObject |
Source:UI/Relations.cs (line 17)
Fields
handling
public GObject handling;
Source:UI/Relations.cs (line 15)
Methods
Add(GObject, RelationType)
public void Add(GObject target, RelationType relationType);
| Parameter | Type | Description |
|---|---|---|
target | GObject | |
relationType | RelationType |
Source:UI/Relations.cs (line 28)
Add(GObject, RelationType, bool)
public void Add(GObject target, RelationType relationType, bool usePercent);
| Parameter | Type | Description |
|---|---|---|
target | GObject | |
relationType | RelationType | |
usePercent | bool |
Source:UI/Relations.cs (line 39)
ClearAll()
public void ClearAll();
Source:UI/Relations.cs (line 128)
ClearFor(GObject)
public void ClearFor(GObject target);
| Parameter | Type | Description |
|---|---|---|
target | GObject |
Source:UI/Relations.cs (line 107)
Contains(GObject)
public bool Contains(GObject target);
| Parameter | Type | Description |
|---|---|---|
target | GObject |
Source:UI/Relations.cs (line 91)
CopyFrom(Relations)
public void CopyFrom(Relations source);
| Parameter | Type | Description |
|---|---|---|
source | Relations |
Source:UI/Relations.cs (line 143)
Dispose()
public void Dispose();
Source:UI/Relations.cs (line 159)
OnOwnerSizeChanged(float, float, bool)
public void OnOwnerSizeChanged(float dWidth, float dHeight, bool applyPivot);
| Parameter | Type | Description |
|---|---|---|
dWidth | float | |
dHeight | float | |
applyPivot | bool |
Source:UI/Relations.cs (line 171)
Remove(GObject, RelationType)
public void Remove(GObject target, RelationType relationType);
| Parameter | Type | Description |
|---|---|---|
target | GObject | |
relationType | RelationType |
Source:UI/Relations.cs (line 62)
Setup(ByteBuffer, bool)
public void Setup(ByteBuffer buffer, bool parentToChild);
| Parameter | Type | Description |
|---|---|---|
buffer | ByteBuffer | |
parentToChild | bool |
Source:UI/Relations.cs (line 192)
Properties
isEmpty
public bool isEmpty { get; }
Source:UI/Relations.cs (line 184)