C# Class UnitSpawner, ProjectPhoenix

Inheritance: MonoBehaviour
Show file Open project: Alx666/ProjectPhoenix Class Usage Examples

Public Properties

Property Type Description
CURRENT_STATE string
ExitLocator Transform
MaxSpawnTime float
MaxUnits int
MinSpawnTime float
SpawnLocator Transform
Spawns List

Private Properties

Property Type Description
RpcPush void
RpcSpawnSetup void
RpcToStateClose void

Public Methods

Method Description
Awake ( ) : void
OnTriggerExit ( Collider other ) : void
Update ( ) : void

Private Methods

Method Description
RpcPush ( NetworkInstanceId netId ) : void
RpcSpawnSetup ( NetworkInstanceId netId, int unitIndex ) : void
RpcToStateClose ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

OnTriggerExit() public method

public OnTriggerExit ( Collider other ) : void
other Collider
return void

Update() public method

public Update ( ) : void
return void

Property Details

CURRENT_STATE public property

public string CURRENT_STATE
return string

ExitLocator public property

public Transform ExitLocator
return Transform

MaxSpawnTime public property

public float MaxSpawnTime
return float

MaxUnits public property

public int MaxUnits
return int

MinSpawnTime public property

public float MinSpawnTime
return float

SpawnLocator public property

public Transform SpawnLocator
return Transform

Spawns public property

public List Spawns
return List