![]() |
Custom Asteroids
0.2.0
A mod for Kerbal Space Program that lets users control where asteroids appear
|
Class for identifying and manipulating new asteroids before they are seen by the player. More...
Public Member Functions | |
void | Start () |
Called on the frame when a script is enabled just before any of the Update methods is called the first time. More... | |
void | OnDestroy () |
This function is called when the object will be destroyed. More... | |
void | CatchAsteroidSpawn (Vessel vessel) |
Selects newly created asteroids and forwards them to AsteroidManager for processing. More... | |
Class for identifying and manipulating new asteroids before they are seen by the player.
void CatchAsteroidSpawn | ( | Vessel | vessel | ) |
Selects newly created asteroids and forwards them to AsteroidManager for processing.
[in] | vessel | A newly created ship object |
vessel
is an asteroid, its properties are modified using AsteroidManager. Otherwise, the function has no effect. void OnDestroy | ( | ) |
This function is called when the object will be destroyed.
void Start | ( | ) |
Called on the frame when a script is enabled just before any of the Update methods is called the first time.