C# Class BattleArea, RPGQuest

Inheritance: BaseSpawner
Afficher le fichier Open project: hughrogers/RPGQuest Class Usage Examples

Méthodes publiques

Свойство Type Description
enemyID int[]
enemyQuantity int[]
layerMask LayerMask
noGameover bool
respawnEnemy bool[]
respawnTime float[]
showStartMessage bool
spawnOffset Vector3[]
spawnOnEnter bool

Méthodes publiques

Méthode Description
AddEnemy ( ) : void
BattleLost ( ) : IEnumerator
CheckRespawn ( Enemy, e ) : void
OnDrawGizmos ( ) : void
OnTriggerEnter ( Collider collider ) : void
OnTriggerExit ( Collider collider ) : void
RemoveEnemy ( int index ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Méthode Description
GetRandomAdd ( ) : Vector3
GetSpawnCenter ( ) : Vector3
RespawnAfter ( int index, float time ) : IEnumerator
SpawnAllEnemies ( ) : IEnumerator
SpawnEnemy ( int index, Vector3 castOrigin ) : bool

Method Details

AddEnemy() public méthode

public AddEnemy ( ) : void
Résultat void

BattleLost() public méthode

public BattleLost ( ) : IEnumerator
Résultat IEnumerator

CheckRespawn() public méthode

public CheckRespawn ( Enemy, e ) : void
e Enemy,
Résultat void

OnDrawGizmos() public méthode

public OnDrawGizmos ( ) : void
Résultat void

OnTriggerEnter() public méthode

public OnTriggerEnter ( Collider collider ) : void
collider Collider
Résultat void

OnTriggerExit() public méthode

public OnTriggerExit ( Collider collider ) : void
collider Collider
Résultat void

RemoveEnemy() public méthode

public RemoveEnemy ( int index ) : void
index int
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

enemyID public_oe property

public int[] enemyID
Résultat int[]

enemyQuantity public_oe property

public int[] enemyQuantity
Résultat int[]

layerMask public_oe property

public LayerMask layerMask
Résultat LayerMask

noGameover public_oe property

public bool noGameover
Résultat bool

respawnEnemy public_oe property

public bool[] respawnEnemy
Résultat bool[]

respawnTime public_oe property

public float[] respawnTime
Résultat float[]

showStartMessage public_oe property

public bool showStartMessage
Résultat bool

spawnOffset public_oe property

public Vector3[] spawnOffset
Résultat Vector3[]

spawnOnEnter public_oe property

public bool spawnOnEnter
Résultat bool