C# Class SkillBarManager, CSharpGameFramework

Exibir arquivo Open project: dreamanlan/CSharpGameFramework Class Usage Examples

Public Methods

Method Description
ChangeHp ( int objID, float hp ) : void
ChangeMp ( int objID, float mp, int mpChange ) : void
Hide ( ) : void
Init ( GameObject cameraObj ) : void
IsOn ( Vector3 pos ) : bool
Release ( ) : void
Show ( ) : void

Private Methods

Method Description
AddSkillButton ( int actorID, int objID, int skillId ) : void
OnSkillCooldown ( int objID, int skillID, float cooldownTime ) : void
RemoveAllSkillButtons ( ) : void

Method Details

ChangeHp() public method

public ChangeHp ( int objID, float hp ) : void
objID int
hp float
return void

ChangeMp() public method

public ChangeMp ( int objID, float mp, int mpChange ) : void
objID int
mp float
mpChange int
return void

Hide() public method

public Hide ( ) : void
return void

Init() public method

public Init ( GameObject cameraObj ) : void
cameraObj GameObject
return void

IsOn() public method

public IsOn ( Vector3 pos ) : bool
pos Vector3
return bool

Release() public method

public Release ( ) : void
return void

Show() public method

public Show ( ) : void
return void