C# Class UIListItem, urban-survivors

Inheritance: UIButton, IUIListObject
ファイルを表示 Open project: exdev/urban-survivors Class Usage Examples

Protected Properties

Property Type Description
colliderBR Vector2
colliderCenter Vector3
colliderTL Vector2
list UIScrollList,
m_index int
m_selected bool

Public Methods

Method Description
Copy ( SpriteRoot, s ) : void
Copy ( SpriteRoot, s, ControlCopyFlags flags ) : void
Create ( string name, Vector3 pos ) : UIListItem,

Creates a GameObject and attaches this component type to it.

Create ( string name, Vector3 pos, Quaternion rotation ) : UIListItem,

Creates a GameObject and attaches this component type to it.

FindOuterEdges ( ) : void
FindText ( ) : void
Hide ( bool tf ) : void
IsContainer ( ) : bool
OnInput ( POINTER_INFO, &ptr ) : void
SetList ( UIScrollList, c ) : void
TruncateBottom ( float pct ) : void
TruncateLeft ( float pct ) : void
TruncateRight ( float pct ) : void
TruncateTop ( float pct ) : void
Untruncate ( ) : void

Protected Methods

Method Description
Awake ( ) : void
OnDisable ( ) : void

Method Details

Awake() protected method

protected Awake ( ) : void
return void

Copy() public method

public Copy ( SpriteRoot, s ) : void
s SpriteRoot,
return void

Copy() public method

public Copy ( SpriteRoot, s, ControlCopyFlags flags ) : void
s SpriteRoot,
flags ControlCopyFlags
return void

Create() static public method

Creates a GameObject and attaches this component type to it.
static public Create ( string name, Vector3 pos ) : UIListItem,
name string Name to give to the new GameObject.
pos Vector3 Position, in world space, where the new object should be created.
return UIListItem,

Create() static public method

Creates a GameObject and attaches this component type to it.
static public Create ( string name, Vector3 pos, Quaternion rotation ) : UIListItem,
name string Name to give to the new GameObject.
pos Vector3 Position, in world space, where the new object should be created.
rotation Quaternion Rotation of the object.
return UIListItem,

FindOuterEdges() public method

public FindOuterEdges ( ) : void
return void

FindText() public method

public FindText ( ) : void
return void

Hide() public method

public Hide ( bool tf ) : void
tf bool
return void

IsContainer() public method

public IsContainer ( ) : bool
return bool

OnDisable() protected method

protected OnDisable ( ) : void
return void

OnInput() public method

public OnInput ( POINTER_INFO, &ptr ) : void
ptr POINTER_INFO,
return void

SetList() public method

public SetList ( UIScrollList, c ) : void
c UIScrollList,
return void

TruncateBottom() public method

public TruncateBottom ( float pct ) : void
pct float
return void

TruncateLeft() public method

public TruncateLeft ( float pct ) : void
pct float
return void

TruncateRight() public method

public TruncateRight ( float pct ) : void
pct float
return void

TruncateTop() public method

public TruncateTop ( float pct ) : void
pct float
return void

Untruncate() public method

public Untruncate ( ) : void
return void

Property Details

colliderBR protected_oe property

protected Vector2 colliderBR
return Vector2

colliderCenter protected_oe property

protected Vector3 colliderCenter
return Vector3

colliderTL protected_oe property

protected Vector2 colliderTL
return Vector2

list protected_oe property

protected UIScrollList, list
return UIScrollList,

m_index protected_oe property

protected int m_index
return int

m_selected protected_oe property

protected bool m_selected
return bool