Show / Hide Table of Contents

Method RegisterDungeonTheme

| Edit this page View Source

RegisterDungeonTheme(GameObject, string)

Registers a new dungeon theme, identified by a unique theme name string.
Assets can be added at any time and will be registered as soon as the vanilla loader is ready.
Declaration
public bool RegisterDungeonTheme(GameObject prefab, string themeName)
Parameters
Type Name Description
GameObject prefab The DungeonGenerator prefab.
string themeName The name of the theme to register.
Returns
Type Description
bool True if theme is successfullly registered, otherwise false.
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾