C# Class PlayerCollision, LetsMake

Inheritance: MonoBehaviour
Exibir arquivo Open project: anneomcl/LetsMake Class Usage Examples

Public Properties

Property Type Description
audioclipDamageFemale UnityEngine.AudioClip
audioclipDamageMale UnityEngine.AudioClip
audioclipDeathFemale UnityEngine.AudioClip
audioclipDeathMale UnityEngine.AudioClip
damageImage Image,
flashColor Color
flashSpeed float
health int
healthText Text,
restartDelay float
timeBetweenDamage float

Public Methods

Method Description
GameOver ( ) : void
Hit ( int damage ) : void
OnTriggerEnter ( Collider other ) : void
Start ( ) : void
Update ( ) : void
UpdateDamageText ( ) : void

Method Details

GameOver() public method

public GameOver ( ) : void
return void

Hit() public method

public Hit ( int damage ) : void
damage int
return void

OnTriggerEnter() public method

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

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

UpdateDamageText() public method

public UpdateDamageText ( ) : void
return void

Property Details

audioclipDamageFemale public_oe property

public AudioClip,UnityEngine audioclipDamageFemale
return UnityEngine.AudioClip

audioclipDamageMale public_oe property

public AudioClip,UnityEngine audioclipDamageMale
return UnityEngine.AudioClip

audioclipDeathFemale public_oe property

public AudioClip,UnityEngine audioclipDeathFemale
return UnityEngine.AudioClip

audioclipDeathMale public_oe property

public AudioClip,UnityEngine audioclipDeathMale
return UnityEngine.AudioClip

damageImage public_oe property

public Image, damageImage
return Image,

flashColor public_oe property

public Color flashColor
return Color

flashSpeed public_oe property

public float flashSpeed
return float

health public_oe property

public int health
return int

healthText public_oe property

public Text, healthText
return Text,

restartDelay public_oe property

public float restartDelay
return float

timeBetweenDamage public_oe property

public float timeBetweenDamage
return float