Custom Asteroids
1.9
A mod for Kerbal Space Program that lets users control where asteroids appear
|
Manages asteroid spawning behaviour, including the choice of spawner. More...
Inherits ScenarioModule.
Public Member Functions | |
override sealed void | OnAwake () |
Called on the frame when a script is first loaded, before any are enabled. More... | |
void | Update () |
Update is called every frame, if the MonoBehaviour is enabled. More... | |
override void | OnLoad (ConfigNode node) |
Called when the module is either constructed or loaded as part of a save game. More... | |
override void | OnSave (ConfigNode node) |
Called when the save game including the module is saved. More... | |
Manages asteroid spawning behaviour, including the choice of spawner.
override sealed void Starstrider42.CustomAsteroids.CustomAsteroidSpawner.OnAwake | ( | ) |
Called on the frame when a script is first loaded, before any are enabled.
override void Starstrider42.CustomAsteroids.CustomAsteroidSpawner.OnLoad | ( | ConfigNode | node | ) |
Called when the module is either constructed or loaded as part of a save game.
After this method returns, the module will be initialized with any settings in node
.
node | The ConfigNode representing this ScenarioModule. |
override void Starstrider42.CustomAsteroids.CustomAsteroidSpawner.OnSave | ( | ConfigNode | node | ) |
Called when the save game including the module is saved.
node
is initialized with the persistent contents of this object.
node | The ConfigNode representing this ScenarioModule. |
void Starstrider42.CustomAsteroids.CustomAsteroidSpawner.Update | ( | ) |
Update is called every frame, if the MonoBehaviour is enabled.
Does not throw exceptions.