C# Class Spawner_base, urban-survivors

Inheritance: MonoBehaviour
显示文件 Open project: exdev/urban-survivors Class Usage Examples

Public Properties

Property Type Description
Prefab GameObject
maxAlive int
minAlive int
showSpawns bool
totalAmount int

Protected Properties

Property Type Description
zb_girl_attack float
zb_girl_hp float
zb_no1_attack float
zb_no1_hp float

Public Methods

Method Description
Awake ( ) : void
DoKill ( ) : void
DoSpawn ( ) : void
IncreaseAttack_zb_girl ( float _amount ) : void
IncreaseAttack_zb_no1 ( float _amount ) : void
IncreaseHp_zb_girl ( float _amount ) : void
IncreaseHp_zb_no1 ( float _amount ) : void
IncreaseMaxAlive ( int _amount ) : void
calcSpawnAmount ( ) : int

Method Details

Awake() public method

public Awake ( ) : void
return void

DoKill() public method

public DoKill ( ) : void
return void

DoSpawn() public method

public DoSpawn ( ) : void
return void

IncreaseAttack_zb_girl() public method

public IncreaseAttack_zb_girl ( float _amount ) : void
_amount float
return void

IncreaseAttack_zb_no1() public method

public IncreaseAttack_zb_no1 ( float _amount ) : void
_amount float
return void

IncreaseHp_zb_girl() public method

public IncreaseHp_zb_girl ( float _amount ) : void
_amount float
return void

IncreaseHp_zb_no1() public method

public IncreaseHp_zb_no1 ( float _amount ) : void
_amount float
return void

IncreaseMaxAlive() public method

public IncreaseMaxAlive ( int _amount ) : void
_amount int
return void

calcSpawnAmount() public method

public calcSpawnAmount ( ) : int
return int

Property Details

Prefab public_oe property

public GameObject Prefab
return GameObject

maxAlive public_oe property

public int maxAlive
return int

minAlive public_oe property

public int minAlive
return int

showSpawns public_oe property

public bool showSpawns
return bool

totalAmount public_oe property

public int totalAmount
return int

zb_girl_attack protected_oe property

protected float zb_girl_attack
return float

zb_girl_hp protected_oe property

protected float zb_girl_hp
return float

zb_no1_attack protected_oe property

protected float zb_no1_attack
return float

zb_no1_hp protected_oe property

protected float zb_no1_hp
return float