Property | Type | Description | |
---|---|---|---|
asteroidPrefab | Rigidbody | ||
radius | float | ||
spawnAsteroids | bool | ||
spawnRate | float | ||
target | Transform | ||
variance | float |
Method | Description | |
---|---|---|
CreateNewAsteroid ( ) : void | ||
DestroyAllAsteroids ( ) : void | ||
OnDrawGizmosSelected ( ) : void | ||
Start ( ) : void |
Method | Description | |
---|---|---|
CreateAsteroids ( ) : IEnumerator |