Свойство | Тип | Описание | |
---|---|---|---|
meteoritePrefab | Meteorite, | ||
meteoriteWarningPrefab | ImpactWarning, | ||
minimumDelay | float | ||
poolSize | int | ||
showerArea | Vector2 |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
Start ( ) : IEnumerator |
public DespawnMeteorite ( Meteorite, meteorite ) : void | ||
meteorite | Meteorite, | |
Результат | void |
public DespawnWarning ( ImpactWarning, warning ) : void | ||
warning | ImpactWarning, | |
Результат | void |
public SpawnMeteorite ( Vector3 position, Quaternion rotation ) : Meteorite, | ||
position | Vector3 | |
rotation | Quaternion | |
Результат | Meteorite, |
public SpawnWarning ( Vector3 position, Quaternion rotation ) : ImpactWarning, | ||
position | Vector3 | |
rotation | Quaternion | |
Результат | ImpactWarning, |
public ImpactWarning, meteoriteWarningPrefab | ||
Результат | ImpactWarning, |