⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    AdditiveSceneSaveInfo MonoBehaviour

    Overview

    The AdditiveSceneSaveInfo behaviour stores information about an additive scene for the save system. This includes the objects registered for runtime instantiation and serialization while this scene is loaded. Additive scenes are intended to be used alongside a master scene containing a SceneSaveInfo.

    Inspector

    AdditiveSceneSaveInfo

    Properties

    Name Type Description
    Display Name String The title of the scene to help identify it.
    Push Local Scene Boolean Should this scene be pushed as the current local scene. Prefabs will be instantiated in this scene instead of the main scene depending on the "Move To Local Scene" setting in their NeoSerializedGameObject.
    Collections SaveGamePrefabCollection Array Predefined collections of prefabs and assets that should be available for this scene.

    Recreatable Items

    This section in the inspector is used to register objects with the save system so that they can be instantiated at runtime. This is only required for objects which need to be instantiated for this scene only. For more information see Runtime Objects.

    Nested Objects

    This dropdown section will list all of the NeoSerializedGameObject behaviours that are currently registered with the scene because they have been attached to the root objects in the hierarchy. You can click on an object in this list to ping it in the hierarchy.


    See Also

    Runtime Objects

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