C# Class HouseGenerator

Inheritance: MonoBehaviour
Mostrar archivo Open project: NotProGamer/emtojere Class Usage Examples

Public Properties

Property Type Description
atticWallpapers Material[]
basementWallpapers Material[]
collectibles GameObject[]
door GameObject
interactibles GameObject[]
numberFloors int[]
room GameObject
stairDown GameObject
stairUp GameObject
wallpapers Material[]

Public Methods

Method Description
CollectiblesAndStairs ( bool up, bool down, int rooms ) : void
CreateFloor ( int rooms, Vector2 leftBound, Vector2 rightBound, Material wallArray ) : void
Start ( ) : void

Method Details

CollectiblesAndStairs() public method

public CollectiblesAndStairs ( bool up, bool down, int rooms ) : void
up bool
down bool
rooms int
return void

CreateFloor() public method

public CreateFloor ( int rooms, Vector2 leftBound, Vector2 rightBound, Material wallArray ) : void
rooms int
leftBound Vector2
rightBound Vector2
wallArray Material
return void

Start() public method

public Start ( ) : void
return void

Property Details

atticWallpapers public_oe property

public Material[] atticWallpapers
return Material[]

basementWallpapers public_oe property

public Material[] basementWallpapers
return Material[]

collectibles public_oe property

public GameObject[] collectibles
return GameObject[]

door public_oe property

public GameObject door
return GameObject

interactibles public_oe property

public GameObject[] interactibles
return GameObject[]

numberFloors public_oe property

public int[] numberFloors
return int[]

room public_oe property

public GameObject room
return GameObject

stairDown public_oe property

public GameObject stairDown
return GameObject

stairUp public_oe property

public GameObject stairUp
return GameObject

wallpapers public_oe property

public Material[] wallpapers
return Material[]