Property | Type | Description | |
---|---|---|---|
ChanceDifficultyIncreaseDeath | float | ||
CollisionCheckRadius | float | ||
CurrentDifficulty | int | ||
CurrentEnemyNumber | int | ||
DifficultyIncreaseTime | int | ||
EnemyPrefabs | List |
||
EnemyProbabilities | List |
||
Instance | SpawnSystem, | ||
MaxSpawnDistance | float | ||
MaxSpawnDistanceActual | float | ||
MaxTries | int | ||
MinSpawnDistanceActual | float | ||
MinSpawnDistanceEmpty | float | ||
MinSpawnDistancePopulated | float | ||
gridDimension | int |
Method | Description | |
---|---|---|
CreateGrid ( string planetName ) : void | ||
DestroyAllChildren ( ) : void | ||
RegisterEnemyDeath ( ) : void | ||
getPlayerGridLoc ( ) : long | ||
getSpawnCells ( long playerLoc, int maxCellsAway, int minCellsAway ) : List |
Gets the list of possible grids in which enemies can be spawned.
|
|
moveToPlanet ( string name ) : void | ||
setPlanetName ( string name ) : void | ||
toGrid ( Vector2 point, float minSize, long gridOffset ) : long | ||
waitForPlanet ( ) : IEnumerator |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
SpawnEnemy ( ) : void |
Tries to spawn an enemy
|
|
Start ( ) : void | ||
Update ( ) : void |
public CreateGrid ( string planetName ) : void | ||
planetName | string | |
return | void |
public getSpawnCells ( long playerLoc, int maxCellsAway, int minCellsAway ) : List |
||
playerLoc | long | Player location. |
maxCellsAway | int | Max cells away. |
minCellsAway | int | Minimum cells away. |
return | List |
public toGrid ( Vector2 point, float minSize, long gridOffset ) : long | ||
point | Vector2 | |
minSize | float | |
gridOffset | long | |
return | long |
public float ChanceDifficultyIncreaseDeath | ||
return | float |