ManiaMap.Unity
Procedural generation of metroidvania style maps for Unity.
ManiaMapSettings Class Reference

Contains settings used by Mania Map components. More...

Inheritance diagram for ManiaMapSettings:

Static Public Member Functions

static ManiaMapSettings LoadSettings ()
 Loads the settings from ManiaMap/ManiaMapSettings in a Resource folder if it exists. Otherwise, returns a new settings instance. More...
 

Properties

int CellLayer [getset]
 The physics layer assigned to room cell area triggers. More...
 
LayerMask TriggeringLayers [getset]
 The physics layers that trigger room cell area triggers. More...
 

Private Attributes

int _cellLayer
 
LayerMask _triggeringLayers
 

Detailed Description

Contains settings used by Mania Map components.

Definition at line 8 of file ManiaMapSettings.cs.

Member Function Documentation

◆ LoadSettings()

static ManiaMapSettings LoadSettings ( )
static

Loads the settings from ManiaMap/ManiaMapSettings in a Resource folder if it exists. Otherwise, returns a new settings instance.

Definition at line 28 of file ManiaMapSettings.cs.

Member Data Documentation

◆ _cellLayer

int _cellLayer
private

Definition at line 11 of file ManiaMapSettings.cs.

◆ _triggeringLayers

LayerMask _triggeringLayers
private

Definition at line 18 of file ManiaMapSettings.cs.

Property Documentation

◆ CellLayer

int CellLayer
getset

The physics layer assigned to room cell area triggers.

Definition at line 15 of file ManiaMapSettings.cs.

◆ TriggeringLayers

LayerMask TriggeringLayers
getset

The physics layers that trigger room cell area triggers.

Definition at line 22 of file ManiaMapSettings.cs.


The documentation for this class was generated from the following file: