C# Class DemoControl, EDIX-sample

Inheritance: MonoBehaviour
Mostra file Open project: unity3d-jp/EDIX-sample Class Usage Examples

Public Properties

Property Type Description
meteoritePrefab Meteorite,
meteoriteWarningPrefab ImpactWarning,
minimumDelay float
poolSize int
showerArea Vector2

Public Methods

Method Description
Awake ( ) : void
DespawnMeteorite ( Meteorite, meteorite ) : void
DespawnWarning ( ImpactWarning, warning ) : void
OnDrawGizmos ( ) : void
SpawnMeteorite ( Vector3 position, Quaternion rotation ) : Meteorite,
SpawnWarning ( Vector3 position, Quaternion rotation ) : ImpactWarning,
Update ( ) : void

Private Methods

Method Description
Start ( ) : IEnumerator

Method Details

Awake() public method

public Awake ( ) : void
return void

DespawnMeteorite() public method

public DespawnMeteorite ( Meteorite, meteorite ) : void
meteorite Meteorite,
return void

DespawnWarning() public method

public DespawnWarning ( ImpactWarning, warning ) : void
warning ImpactWarning,
return void

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

SpawnMeteorite() public method

public SpawnMeteorite ( Vector3 position, Quaternion rotation ) : Meteorite,
position Vector3
rotation Quaternion
return Meteorite,

SpawnWarning() public method

public SpawnWarning ( Vector3 position, Quaternion rotation ) : ImpactWarning,
position Vector3
rotation Quaternion
return ImpactWarning,

Update() public method

public Update ( ) : void
return void

Property Details

meteoritePrefab public_oe property

public Meteorite, meteoritePrefab
return Meteorite,

meteoriteWarningPrefab public_oe property

public ImpactWarning, meteoriteWarningPrefab
return ImpactWarning,

minimumDelay public_oe property

public float minimumDelay
return float

poolSize public_oe property

public int poolSize
return int

showerArea public_oe property

public Vector2 showerArea
return Vector2