C# Class UI_Target, TestGame

Inheritance: MonoBehaviour, IPointerDownHandler
显示文件 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_oe property

public GameEntity, GE_target
return GameEntity,

GO_targetUI public_oe property

public GameObject GO_targetUI
return GameObject

bShowDetail public_oe property

public bool bShowDetail
return bool

slider_hp public_oe property

public Slider, slider_hp
return Slider,

text_hpDetail public_oe property

public Text text_hpDetail
return Text

text_targetName public_oe property

public Text text_targetName
return Text