C# Class ImpSpawner, Demonology

Inheritance: MonoBehaviour
显示文件 Open project: Qlevine20/Demonology

Public Properties

Property Type Description
Imp GameObject
LoadingScreen bool
Player GameObject
activeRange float
leftSpawner bool
maxSpawn int
sinkingTime float
spawnCount int
startDelay float
waitTime float

Public Methods

Method Description
DistanceBetween ( Vector2 pos1, Vector2 pos2 ) : float
LateUpdate ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
RandomSpawnImp ( float counter ) : bool

Method Details

DistanceBetween() public method

public DistanceBetween ( Vector2 pos1, Vector2 pos2 ) : float
pos1 Vector2
pos2 Vector2
return float

LateUpdate() public method

public LateUpdate ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

Imp public_oe property

public GameObject Imp
return GameObject

LoadingScreen public_oe property

public bool LoadingScreen
return bool

Player public_oe property

public GameObject Player
return GameObject

activeRange public_oe property

public float activeRange
return float

leftSpawner public_oe property

public bool leftSpawner
return bool

maxSpawn public_oe property

public int maxSpawn
return int

sinkingTime public_oe property

public float sinkingTime
return float

spawnCount public_oe property

public int spawnCount
return int

startDelay public_oe property

public float startDelay
return float

waitTime public_oe property

public float waitTime
return float