⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    OrderedSpawnPointGroup MonoBehaviour

    Overview

    The OrderedSpawnPointGroup behaviour is used to enforce a spawn order for multiple spawn points. The order that Unity calls Start() on multiple objects can be unpredictable, so this behaviour allows you to add the spawn points to a list and rearrange the order. This works best with the SpawnManager set to use the "Round Robin" spawn mode.

    Inspector

    OrderedSpawnPointGroup

    Properties

    Name Type Description
    Register On Awake Dropdown Should the spawn points be registered with the manager as soon as this object is awoken.
    Spawn Points SpawnPoint Array The spawn points to register in order.

    See Also

    SpawnManager

    SpawnPoint

    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX