PresetRoomConnectorPointFULL version only

Class in ChivalrousGames.DungeonMaster / Inherits from: MonoBehaviour

Description

Configuration of a RoomConnectorPoint for a PresetRoom

Fields

direction Direction The Direction of this RoomConnectorPoint when Room rotation == 0,0,0
configs List<RoomConnectorPointConfig> List of possible configs for this RoomConnectorPoint.
selectedConfig RoomConnectorPointConfig The selected config for this RoomConnectorPoint.

Properties

PresetRoom PresetRoom ReadOnly
The PresetRoom in which this PresetRoomConnectorPoint is located.
RoomConnectorPoint RoomConnectorPoint ReadOnly
The RoomConnectorPoint configured by this PresetRoomConnectorPoint.
RealDirection Direction ReadOnly
The Direction that the RoomConnectorPoint connects toward when Room rotation is taken into account.
Configs List<RoomConnectorPointConfig> ReadOnly
List of possible configs for this RoomConnectorPoint.

Methods

ResetConfigs
public void ResetConfigs();
Description

Resets the configs by loading them from the RoomConnectorPoint.

SelectedConfigValid
public bool SelectedConfigValid();
Return
bool True if selected config is valid; otherwise, false
Description

Verifies if the selected config is valid.