C# Class UI_Target, TestGame

Inheritance: MonoBehaviour, IPointerDownHandler
Show file Open project: liuxq/TestGame Class Usage Examples

Public Properties

Property Type Description
GE_target GameEntity,
GO_targetUI GameObject
bShowDetail bool
slider_hp Slider,
text_hpDetail Text
text_targetName Text

Public Methods

Method Description
OnPointerDown ( PointerEventData data ) : void
Start ( ) : void
UpdateTargetUI ( ) : void
activate ( ) : void
deactivate ( ) : void
setHP ( int v ) : void
setHPMax ( int v ) : void
setName ( string v ) : void

Method Details

OnPointerDown() public method

public OnPointerDown ( PointerEventData data ) : void
data UnityEngine.EventSystems.PointerEventData
return void

Start() public method

public Start ( ) : void
return void

UpdateTargetUI() public method

public UpdateTargetUI ( ) : void
return void

activate() public method

public activate ( ) : void
return void

deactivate() public method

public deactivate ( ) : void
return void

setHP() public method

public setHP ( int v ) : void
v int
return void

setHPMax() public method

public setHPMax ( int v ) : void
v int
return void

setName() public method

public setName ( string v ) : void
v string
return void

Property Details

GE_target public property

public GameEntity, GE_target
return GameEntity,

GO_targetUI public property

public GameObject GO_targetUI
return GameObject

bShowDetail public property

public bool bShowDetail
return bool

slider_hp public property

public Slider, slider_hp
return Slider,

text_hpDetail public property

public Text text_hpDetail
return Text

text_targetName public property

public Text text_targetName
return Text