C# Class DestroyBuilding, kaijurising

Inheritance: MonoBehaviour
ファイルを表示 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_oe property

public Vector3 explosionOffset
return Vector3

explosionParticle public_oe property

public GameObject explosionParticle
return GameObject

instSound public_oe property

public InstanciateSound, instSound
return InstanciateSound,

kaijuTag public_oe property

public string kaijuTag
return string

redButton public_oe property

public KeyCode, redButton
return KeyCode,

rubbleYPosition public_oe property

public float rubbleYPosition
return float

smokeParticle public_oe property

public GameObject smokeParticle
return GameObject

spawnOffset public_oe property

public Vector3 spawnOffset
return Vector3