C# Class Altar

Inheritance: MonoBehaviour
Exibir arquivo Open project: JustInToCoding/Ritual Class Usage Examples

Public Properties

Property Type Description
boss GameObject
bossSpawn UnityEngine.AudioClip
particleBossFX GameObject
particleFX GameObject
sacrificedItems int

Public Methods

Method Description
StartRitual ( ) : void
deleteFX ( GameObject Go ) : IEnumerator
waitToSpawnBoss ( ) : IEnumerator

Private Methods

Method Description
OnCollisionEnter2D ( Collision2D other ) : void
Reset ( ) : void
SpawnBoss ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

StartRitual() public method

public StartRitual ( ) : void
return void

deleteFX() public method

public deleteFX ( GameObject Go ) : IEnumerator
Go GameObject
return IEnumerator

waitToSpawnBoss() public method

public waitToSpawnBoss ( ) : IEnumerator
return IEnumerator

Property Details

boss public_oe property

public GameObject boss
return GameObject

bossSpawn public_oe property

public AudioClip,UnityEngine bossSpawn
return UnityEngine.AudioClip

particleBossFX public_oe property

public GameObject particleBossFX
return GameObject

particleFX public_oe property

public GameObject particleFX
return GameObject

sacrificedItems public_oe static_oe property

public static int sacrificedItems
return int