C# Класс HouseGenerator

Наследование: MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
atticWallpapers Material[]
basementWallpapers Material[]
collectibles GameObject[]
door GameObject
interactibles GameObject[]
numberFloors int[]
room GameObject
stairDown GameObject
stairUp GameObject
wallpapers Material[]

Открытые методы

Метод Описание
CollectiblesAndStairs ( bool up, bool down, int rooms ) : void
CreateFloor ( int rooms, Vector2 leftBound, Vector2 rightBound, Material wallArray ) : void
Start ( ) : void

Описание методов

CollectiblesAndStairs() публичный Метод

public CollectiblesAndStairs ( bool up, bool down, int rooms ) : void
up bool
down bool
rooms int
Результат void

CreateFloor() публичный Метод

public CreateFloor ( int rooms, Vector2 leftBound, Vector2 rightBound, Material wallArray ) : void
rooms int
leftBound Vector2
rightBound Vector2
wallArray Material
Результат void

Start() публичный Метод

public Start ( ) : void
Результат void

Описание свойств

atticWallpapers публичное свойство

public Material[] atticWallpapers
Результат Material[]

basementWallpapers публичное свойство

public Material[] basementWallpapers
Результат Material[]

collectibles публичное свойство

public GameObject[] collectibles
Результат GameObject[]

door публичное свойство

public GameObject door
Результат GameObject

interactibles публичное свойство

public GameObject[] interactibles
Результат GameObject[]

numberFloors публичное свойство

public int[] numberFloors
Результат int[]

room публичное свойство

public GameObject room
Результат GameObject

stairDown публичное свойство

public GameObject stairDown
Результат GameObject

stairUp публичное свойство

public GameObject stairUp
Результат GameObject

wallpapers публичное свойство

public Material[] wallpapers
Результат Material[]