C# Class CreateRooms, Procedural-Level-Engine-for-Unity

Inheritance: MonoBehaviour
Mostra file Open project: vicero/Procedural-Level-Engine-for-Unity Class Usage Examples

Public Properties

Property Type Description
Character Transform
RoomA Transform

Public Methods

Method Description
GenerateRooms ( int roomCount ) : void
InitializeRoomList ( ) : void
PositionRoom ( Transform room, Transform originRoom ) : void
Start ( ) : void

Private Methods

Method Description
InstantiateRoom ( Transform room ) : Transform
PlaceCharacterInRoom ( Transform room ) : Transform

Method Details

GenerateRooms() public method

public GenerateRooms ( int roomCount ) : void
roomCount int
return void

InitializeRoomList() public method

public InitializeRoomList ( ) : void
return void

PositionRoom() public method

public PositionRoom ( Transform room, Transform originRoom ) : void
room Transform
originRoom Transform
return void

Start() public method

public Start ( ) : void
return void

Property Details

Character public_oe property

public Transform Character
return Transform

RoomA public_oe property

public Transform RoomA
return Transform