Table of Contents

Class BiomeHandler.SkyReference

Namespace
Nautilus.Handlers
Assembly
Nautilus.dll
Defines a reference to a new or existing Sky prefab.
public class BiomeHandler.SkyReference
Inheritance
BiomeHandler.SkyReference
Inherited Members
Extension Methods

Constructors

SkyReference(Func<GameObject>)

Defines a reference to a Sky prefab created from a callback at runtime.
public SkyReference(Func<GameObject> prefabCallback)

Parameters

prefabCallback Func<GameObject>

SkyReference(string)

Defines a reference to a base-game Sky prefab.
public SkyReference(string existingSkyPrefabName)

Parameters

existingSkyPrefabName string

The name of the Sky prefab from the list of base-game Skies, i.e. "SkySafeShallows".

A list of valid inputs can be found on this page: https://subnauticamodding.github.io/Nautilus/tutorials/biomes.html

SkyReference(GameObject)

Defines a reference to a new or existing Sky prefab.
public SkyReference(GameObject obj)

Parameters

obj GameObject

Methods

GetSkyPrefabAtRuntime(WaterBiomeManager)

public virtual GameObject GetSkyPrefabAtRuntime(WaterBiomeManager waterBiomeManager)

Parameters

waterBiomeManager WaterBiomeManager

Returns

GameObject