Show / Hide Table of Contents

Method RegisterEnvironment

| Edit this page View Source

RegisterEnvironment(AssetBundle, string)

Adds a new environment prefab to be registered when ZoneSystem.SetupLocations runs.
If you intend to use a custom interior environment Location.m_interiorEnvironment, this method enables you to provide a prefab with an appropriately configured LocationList containing atleast one EnvSetup within LocationList.m_environments.
Declaration
public void RegisterEnvironment(AssetBundle assetBundle, string prefabName)
Parameters
Type Name Description
AssetBundle assetBundle The AssetBundle containing the prefab.
string prefabName The name of the prefab to register.
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾