C# 클래스 BoardCreator, Adagio

상속: MonoBehaviour
파일 보기 프로젝트 열기: technicalvgda/Adagio 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ActiveTileHeight int
ActiveTileLength int
AudioTrigger1 GameObject
AudioTrigger2 GameObject
ChildOfBoardHolder GameObject
CodexPercChance int
CorridorPercChance int
DeadEndChance int
EastCorridorPuzzles GameObject[]
Gate1 GameObject
Gate2 GameObject
LoadingScreenCanvas GameObject
NorthCorridorPuzzles GameObject[]
PercentChance int
RandomPrefabs GameObject[]
SouthCorridorPuzzles GameObject[]
TileInactiveTimer float
WestCorridorPuzzles GameObject[]
codexArray GameObject[]
columns int
corridorLength IntRange,
element int
floorTiles GameObject[]
hubOpening int
minCorridorLength int
numRooms IntRange,
outerWallTiles GameObject[]
player GameObject
playerTeleportPlat GameObject
reloadLevelNeeded bool
roomHeight IntRange,
roomWidth IntRange,
rows int
teleporter GameObject
triedCounter int
wallTiles GameObject[]

공개 메소드들

메소드 설명
CreateRoomsAndCorridors ( ) : void
FixedUpdate ( ) : void
InstantiateFromArray ( GameObject prefabs, float xCoord, float yCoord ) : void
InstantiateHorizontalOuterWall ( float startingX, float endingX, float yCoord ) : void
InstantiateOuterWalls ( ) : void
InstantiateTiles ( ) : void
InstantiateVerticalOuterWall ( float xCoord, float startingY, float endingY ) : void
OnDisable ( ) : void
OnEnable ( ) : void
SetTilesActive ( GameObject o ) : void
SetTilesUnactive ( GameObject o ) : void
SetTilesValuesForAppendedCorridors ( ) : void
SetTilesValuesForCorridors ( ) : void
SetTilesValuesForDeadEndCorridors ( ) : void
SetTilesValuesForRooms ( ) : void
SetupActiveTilesArray ( ) : void
SetupTilesArray ( ) : void
SpawnPuzzles ( ) : void
spawnAudioTrigger ( Corridor, corridor, GameObject audioTrigger ) : void
spawnGate ( Corridor, corridor, GameObject gate ) : void

비공개 메소드들

메소드 설명
Start ( ) : void
doCorridorsOverlapCorridor ( Corridor, alreadyPlaced, Corridor, toBePlaced ) : bool
doCorridorsOverlapRooms ( Room, alreadyPlaced, Corridor, toBePlaced ) : bool
doRoomsOverlap ( Room, alreadyPlaced, Room, toBePlaced ) : bool
doRoomsOverlapCorridor ( Corridor, alreadyPlaced, Room, toBePlaced ) : bool
makeTilesActiveInSquare ( ) : IEnumerator

메소드 상세

CreateRoomsAndCorridors() 공개 메소드

public CreateRoomsAndCorridors ( ) : void
리턴 void

FixedUpdate() 공개 메소드

public FixedUpdate ( ) : void
리턴 void

InstantiateFromArray() 공개 메소드

public InstantiateFromArray ( GameObject prefabs, float xCoord, float yCoord ) : void
prefabs GameObject
xCoord float
yCoord float
리턴 void

InstantiateHorizontalOuterWall() 공개 메소드

public InstantiateHorizontalOuterWall ( float startingX, float endingX, float yCoord ) : void
startingX float
endingX float
yCoord float
리턴 void

InstantiateOuterWalls() 공개 메소드

public InstantiateOuterWalls ( ) : void
리턴 void

InstantiateTiles() 공개 메소드

public InstantiateTiles ( ) : void
리턴 void

InstantiateVerticalOuterWall() 공개 메소드

public InstantiateVerticalOuterWall ( float xCoord, float startingY, float endingY ) : void
xCoord float
startingY float
endingY float
리턴 void

OnDisable() 공개 메소드

public OnDisable ( ) : void
리턴 void

OnEnable() 공개 메소드

public OnEnable ( ) : void
리턴 void

SetTilesActive() 공개 메소드

public SetTilesActive ( GameObject o ) : void
o GameObject
리턴 void

SetTilesUnactive() 공개 메소드

public SetTilesUnactive ( GameObject o ) : void
o GameObject
리턴 void

SetTilesValuesForAppendedCorridors() 공개 메소드

public SetTilesValuesForAppendedCorridors ( ) : void
리턴 void

SetTilesValuesForCorridors() 공개 메소드

public SetTilesValuesForCorridors ( ) : void
리턴 void

SetTilesValuesForDeadEndCorridors() 공개 메소드

public SetTilesValuesForDeadEndCorridors ( ) : void
리턴 void

SetTilesValuesForRooms() 공개 메소드

public SetTilesValuesForRooms ( ) : void
리턴 void

SetupActiveTilesArray() 공개 메소드

public SetupActiveTilesArray ( ) : void
리턴 void

SetupTilesArray() 공개 메소드

public SetupTilesArray ( ) : void
리턴 void

SpawnPuzzles() 공개 메소드

public SpawnPuzzles ( ) : void
리턴 void

spawnAudioTrigger() 공개 메소드

public spawnAudioTrigger ( Corridor, corridor, GameObject audioTrigger ) : void
corridor Corridor,
audioTrigger GameObject
리턴 void

spawnGate() 공개 메소드

public spawnGate ( Corridor, corridor, GameObject gate ) : void
corridor Corridor,
gate GameObject
리턴 void

프로퍼티 상세

ActiveTileHeight 공개적으로 프로퍼티

public int ActiveTileHeight
리턴 int

ActiveTileLength 공개적으로 프로퍼티

public int ActiveTileLength
리턴 int

AudioTrigger1 공개적으로 프로퍼티

public GameObject AudioTrigger1
리턴 GameObject

AudioTrigger2 공개적으로 프로퍼티

public GameObject AudioTrigger2
리턴 GameObject

ChildOfBoardHolder 공개적으로 프로퍼티

public GameObject ChildOfBoardHolder
리턴 GameObject

CodexPercChance 공개적으로 프로퍼티

public int CodexPercChance
리턴 int

CorridorPercChance 공개적으로 프로퍼티

public int CorridorPercChance
리턴 int

DeadEndChance 공개적으로 프로퍼티

public int DeadEndChance
리턴 int

EastCorridorPuzzles 공개적으로 프로퍼티

public GameObject[] EastCorridorPuzzles
리턴 GameObject[]

Gate1 공개적으로 프로퍼티

public GameObject Gate1
리턴 GameObject

Gate2 공개적으로 프로퍼티

public GameObject Gate2
리턴 GameObject

LoadingScreenCanvas 공개적으로 프로퍼티

public GameObject LoadingScreenCanvas
리턴 GameObject

NorthCorridorPuzzles 공개적으로 프로퍼티

public GameObject[] NorthCorridorPuzzles
리턴 GameObject[]

PercentChance 공개적으로 프로퍼티

public int PercentChance
리턴 int

RandomPrefabs 공개적으로 프로퍼티

public GameObject[] RandomPrefabs
리턴 GameObject[]

SouthCorridorPuzzles 공개적으로 프로퍼티

public GameObject[] SouthCorridorPuzzles
리턴 GameObject[]

TileInactiveTimer 공개적으로 프로퍼티

public float TileInactiveTimer
리턴 float

WestCorridorPuzzles 공개적으로 프로퍼티

public GameObject[] WestCorridorPuzzles
리턴 GameObject[]

codexArray 공개적으로 프로퍼티

public GameObject[] codexArray
리턴 GameObject[]

columns 공개적으로 프로퍼티

public int columns
리턴 int

corridorLength 공개적으로 프로퍼티

public IntRange, corridorLength
리턴 IntRange,

element 공개적으로 프로퍼티

public int element
리턴 int

floorTiles 공개적으로 프로퍼티

public GameObject[] floorTiles
리턴 GameObject[]

hubOpening 공개적으로 프로퍼티

public int hubOpening
리턴 int

minCorridorLength 공개적으로 프로퍼티

public int minCorridorLength
리턴 int

numRooms 공개적으로 프로퍼티

public IntRange, numRooms
리턴 IntRange,

outerWallTiles 공개적으로 프로퍼티

public GameObject[] outerWallTiles
리턴 GameObject[]

player 공개적으로 프로퍼티

public GameObject player
리턴 GameObject

playerTeleportPlat 공개적으로 프로퍼티

public GameObject playerTeleportPlat
리턴 GameObject

reloadLevelNeeded 공개적으로 프로퍼티

public bool reloadLevelNeeded
리턴 bool

roomHeight 공개적으로 프로퍼티

public IntRange, roomHeight
리턴 IntRange,

roomWidth 공개적으로 프로퍼티

public IntRange, roomWidth
리턴 IntRange,

rows 공개적으로 프로퍼티

public int rows
리턴 int

teleporter 공개적으로 프로퍼티

public GameObject teleporter
리턴 GameObject

triedCounter 공개적으로 프로퍼티

public int triedCounter
리턴 int

wallTiles 공개적으로 프로퍼티

public GameObject[] wallTiles
리턴 GameObject[]