C# Class CharacterCaracteristics, Enclave

Inheritance: MonoBehaviour
显示文件 Open project: BenjaminDo/Enclave Class Usage Examples

Public Properties

Property Type Description
PlayerVitality int
animSpeed float
bouclier GameObject
lookSmoother float
textLevel GUIText
useCurves bool

Public Methods

Method Description
Death ( ) : void
DrawQuad ( Rect position, Color color ) : void
DrawRectangle ( Rect position, Color color ) : void
FixedUpdate ( ) : void
GetForce ( ) : float
GetSpeed ( ) : float
GetVitality ( ) : int
IncreaseLife ( ) : void
OnGUI ( ) : void
OnTriggerEnter ( Collider other ) : void
SetDeltaVitality ( float value ) : void
SetForce ( float value ) : void
SetSpeed ( float value ) : void
SetVitality ( int value ) : void
Start ( ) : void
Update ( ) : void
getLevel ( ) : int
getMaxLife ( ) : int
getXp ( ) : int
setParade ( bool bParade ) : void
updateXp ( float a, bool b ) : void

Private Methods

Method Description
desBoubou ( ) : void

Method Details

Death() public method

public Death ( ) : void
return void

DrawQuad() public method

public DrawQuad ( Rect position, Color color ) : void
position Rect
color Color
return void

DrawRectangle() public method

public DrawRectangle ( Rect position, Color color ) : void
position Rect
color Color
return void

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

GetForce() public method

public GetForce ( ) : float
return float

GetSpeed() public method

public GetSpeed ( ) : float
return float

GetVitality() public method

public GetVitality ( ) : int
return int

IncreaseLife() public method

public IncreaseLife ( ) : void
return void

OnGUI() public method

public OnGUI ( ) : void
return void

OnTriggerEnter() public method

public OnTriggerEnter ( Collider other ) : void
other Collider
return void

SetDeltaVitality() public method

public SetDeltaVitality ( float value ) : void
value float
return void

SetForce() public method

public SetForce ( float value ) : void
value float
return void

SetSpeed() public method

public SetSpeed ( float value ) : void
value float
return void

SetVitality() public method

public SetVitality ( int value ) : void
value int
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

getLevel() public method

public getLevel ( ) : int
return int

getMaxLife() public method

public getMaxLife ( ) : int
return int

getXp() public method

public getXp ( ) : int
return int

setParade() public method

public setParade ( bool bParade ) : void
bParade bool
return void

updateXp() public method

public updateXp ( float a, bool b ) : void
a float
b bool
return void

Property Details

PlayerVitality public_oe property

public int PlayerVitality
return int

animSpeed public_oe property

public float animSpeed
return float

bouclier public_oe property

public GameObject bouclier
return GameObject

lookSmoother public_oe property

public float lookSmoother
return float

textLevel public_oe property

public GUIText textLevel
return GUIText

useCurves public_oe property

public bool useCurves
return bool