Property | Type | Description | |
---|---|---|---|
meteoritePrefab | Meteorite, | ||
meteoriteWarningPrefab | ImpactWarning, | ||
minimumDelay | float | ||
poolSize | int | ||
showerArea | Vector2 |
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 |
Method | Description | |
---|---|---|
Start ( ) : IEnumerator |
public DespawnMeteorite ( Meteorite, meteorite ) : void | ||
meteorite | Meteorite, | |
return | void |
public DespawnWarning ( ImpactWarning, warning ) : void | ||
warning | ImpactWarning, | |
return | void |
public SpawnMeteorite ( Vector3 position, Quaternion rotation ) : Meteorite, | ||
position | Vector3 | |
rotation | Quaternion | |
return | Meteorite, |
public SpawnWarning ( Vector3 position, Quaternion rotation ) : ImpactWarning, | ||
position | Vector3 | |
rotation | Quaternion | |
return | ImpactWarning, |
public ImpactWarning, meteoriteWarningPrefab | ||
return | ImpactWarning, |