C# Class PlayerCollider, CodeSpells

Inheritance: MonoBehaviour
显示文件 Open project: srfoster/CodeSpells Class Usage Examples

Public Properties

Property Type Description
crateCollisionTimer System.Timers.Timer
heartColor string
hitDamage double
timeInterval int

Public Methods

Method Description
OnCollisionEnter ( Collision col ) : void
OnCollisionExit ( Collision col ) : void
OnTriggerEnter ( Collider col ) : void
Start ( ) : void
Update ( ) : void
decreaseHealth ( double amount, GameObject gameObject ) : void

Method Details

OnCollisionEnter() public method

public OnCollisionEnter ( Collision col ) : void
col Collision
return void

OnCollisionExit() public method

public OnCollisionExit ( Collision col ) : void
col Collision
return void

OnTriggerEnter() public method

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

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

decreaseHealth() public method

public decreaseHealth ( double amount, GameObject gameObject ) : void
amount double
gameObject GameObject
return void

Property Details

crateCollisionTimer public_oe property

public Timer,System.Timers crateCollisionTimer
return System.Timers.Timer

heartColor public_oe property

public string heartColor
return string

hitDamage public_oe property

public double hitDamage
return double

timeInterval public_oe property

public int timeInterval
return int