Property | Type | Description | |
---|---|---|---|
golemPrefab | Golem | ||
impPrefab | Imp | ||
skeletonPrefab | SkeletalWarrior |
Method | Description | |
---|---|---|
Start ( ) : void | ||
Update ( ) : void | ||
spawn ( Vector3 spawnPosition, Enemy enemyPrefab ) : void | ||
spawnMob ( Vector3 mobPosition, int mobSize ) : void |
public spawn ( Vector3 spawnPosition, Enemy enemyPrefab ) : void | ||
spawnPosition | Vector3 | |
enemyPrefab | Enemy | |
return | void |
public spawnMob ( Vector3 mobPosition, int mobSize ) : void | ||
mobPosition | Vector3 | |
mobSize | int | |
return | void |