- Type : Public
- Inherents from
- Namespace : SlateShipyard.ShipSpawner
Spawner of the ship addons added on ShipSpawnerManager.
Giving the prefab function, this will spawn on the best place a ship (WIP).
The Start function of a MonoBehaviour.
(Func< GameObject > shipPrefab, bool spawnEvenIfNotAllowed)
Spawns a ship giving the shipPrefab function.
If spawnEvenIfNotAllowed is set to false, it will first check to see if the ship will spawn inside something and will not spawn it if that is the case (WIP). If it is set to true it will ignore that check. The check feature is still WIP so set spawnEvenIfNotAllowed to true if you want to be able to use the function.
Public Static Methods
Gets the Bounds of a object combined collider.