C# Class FairyGUI.RelationItem

显示文件 Open project: fairygui/FairyGUI-unity Class Usage Examples

Public Methods

Method Description
Add ( RelationType relationType, bool usePercent ) : void
ApplyOnSelfSizeChanged ( float dWidth, float dHeight ) : void
CopyFrom ( RelationItem source ) : void
Dispose ( ) : void
InternalAdd ( RelationType relationType, bool usePercent ) : void
RelationItem ( GObject owner ) : System.Collections.Generic
Remove ( RelationType relationType ) : void

Private Methods

Method Description
AddRefTarget ( GObject target ) : void
ApplyOnSizeChanged ( RelationDef info ) : void
ApplyOnXYChanged ( RelationDef info, float dx, float dy ) : void
ReleaseRefTarget ( GObject target ) : void
__targetSizeChanged ( EventContext context ) : void
__targetXYChanged ( EventContext context ) : void

Method Details

Add() public method

public Add ( RelationType relationType, bool usePercent ) : void
relationType RelationType
usePercent bool
return void

ApplyOnSelfSizeChanged() public method

public ApplyOnSelfSizeChanged ( float dWidth, float dHeight ) : void
dWidth float
dHeight float
return void

CopyFrom() public method

public CopyFrom ( RelationItem source ) : void
source RelationItem
return void

Dispose() public method

public Dispose ( ) : void
return void

InternalAdd() public method

public InternalAdd ( RelationType relationType, bool usePercent ) : void
relationType RelationType
usePercent bool
return void

RelationItem() public method

public RelationItem ( GObject owner ) : System.Collections.Generic
owner GObject
return System.Collections.Generic

Remove() public method

public Remove ( RelationType relationType ) : void
relationType RelationType
return void