RoomLoader Class

Summary

The RoomLoader class contains fuctionality for loading in a room, given a string that represents the room name. Note: This a stripped-down copy of the "RoomSave" class, as it is not integrated with the Unity editor, and does not need any functionality besides loading in room geometry.
Namespace
global
Base Types
  • MonoBehaviour
graph TD Base0["MonoBehaviour"]-->Type Type["RoomLoader"] class Type type-node

Syntax

public class RoomLoader : MonoBehaviour

Fields

Name Constant Value Summary
parent
RoomFolder

Methods

Name Value Summary
LoadRoom(string, Transform) void
Loads a room in determined by the roomName parameter, as a child of the given transform