C# Class UIListItem, urban-survivors

Inheritance: UIButton, IUIListObject
Afficher le fichier Open project: exdev/urban-survivors Class Usage Examples

Protected Properties

Свойство Type Description
colliderBR Vector2
colliderCenter Vector3
colliderTL Vector2
list UIScrollList,
m_index int
m_selected bool

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Awake ( ) : void
OnDisable ( ) : void

Method Details

Awake() protected méthode

protected Awake ( ) : void
Résultat void

Copy() public méthode

public Copy ( SpriteRoot, s ) : void
s SpriteRoot,
Résultat void

Copy() public méthode

public Copy ( SpriteRoot, s, ControlCopyFlags flags ) : void
s SpriteRoot,
flags ControlCopyFlags
Résultat void

Create() static public méthode

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.
Résultat UIListItem,

Create() static public méthode

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.
Résultat UIListItem,

FindOuterEdges() public méthode

public FindOuterEdges ( ) : void
Résultat void

FindText() public méthode

public FindText ( ) : void
Résultat void

Hide() public méthode

public Hide ( bool tf ) : void
tf bool
Résultat void

IsContainer() public méthode

public IsContainer ( ) : bool
Résultat bool

OnDisable() protected méthode

protected OnDisable ( ) : void
Résultat void

OnInput() public méthode

public OnInput ( POINTER_INFO, &ptr ) : void
ptr POINTER_INFO,
Résultat void

SetList() public méthode

public SetList ( UIScrollList, c ) : void
c UIScrollList,
Résultat void

TruncateBottom() public méthode

public TruncateBottom ( float pct ) : void
pct float
Résultat void

TruncateLeft() public méthode

public TruncateLeft ( float pct ) : void
pct float
Résultat void

TruncateRight() public méthode

public TruncateRight ( float pct ) : void
pct float
Résultat void

TruncateTop() public méthode

public TruncateTop ( float pct ) : void
pct float
Résultat void

Untruncate() public méthode

public Untruncate ( ) : void
Résultat void

Property Details

colliderBR protected_oe property

protected Vector2 colliderBR
Résultat Vector2

colliderCenter protected_oe property

protected Vector3 colliderCenter
Résultat Vector3

colliderTL protected_oe property

protected Vector2 colliderTL
Résultat Vector2

list protected_oe property

protected UIScrollList, list
Résultat UIScrollList,

m_index protected_oe property

protected int m_index
Résultat int

m_selected protected_oe property

protected bool m_selected
Résultat bool