Property | Type | Description | |
---|---|---|---|
Imp | GameObject | ||
LoadingScreen | bool | ||
Player | GameObject | ||
activeRange | float | ||
leftSpawner | bool | ||
maxSpawn | int | ||
sinkingTime | float | ||
spawnCount | int | ||
startDelay | float | ||
waitTime | float |
Method | Description | |
---|---|---|
DistanceBetween ( Vector2 pos1, Vector2 pos2 ) : float | ||
LateUpdate ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
RandomSpawnImp ( float counter ) : bool |
public DistanceBetween ( Vector2 pos1, Vector2 pos2 ) : float | ||
pos1 | Vector2 | |
pos2 | Vector2 | |
return | float |