C# Class DestroyBuilding, kaijurising

Inheritance: MonoBehaviour
Show file Open project: Moehammered/kaijurising Class Usage Examples

Public Properties

Property Type Description
explosionOffset Vector3
explosionParticle GameObject
instSound InstanciateSound,
kaijuTag string
redButton KeyCode,
rubbleYPosition float
smokeParticle GameObject
spawnOffset Vector3

Public Methods

Method Description
Cmd_explodeObject ( ) : void

Private Methods

Method Description
OnCollisionEnter ( Collision other ) : void
Start ( ) : void
createExplosion ( ) : void
createGroundObjects ( ) : void
onDeath ( ) : void
spawnFragments ( ) : void

Method Details

Cmd_explodeObject() public method

public Cmd_explodeObject ( ) : void
return void

Property Details

explosionOffset public property

public Vector3 explosionOffset
return Vector3

explosionParticle public property

public GameObject explosionParticle
return GameObject

instSound public property

public InstanciateSound, instSound
return InstanciateSound,

kaijuTag public property

public string kaijuTag
return string

redButton public property

public KeyCode, redButton
return KeyCode,

rubbleYPosition public property

public float rubbleYPosition
return float

smokeParticle public property

public GameObject smokeParticle
return GameObject

spawnOffset public property

public Vector3 spawnOffset
return Vector3