C# Class PerlinDungeonGenerator, GameJamTemplate

Inheritance: MonoBehaviour
ファイルを表示 Open project: unitycoder/GameJamTemplate

Public Properties

Property Type Description
drawplane Transform
floorholder Transform
mapsize int
noiseScale float
roofholder Transform
wallHeight int
wallholder Transform

Public Methods

Method Description
Start ( ) : void
addBottomWallMesh ( float x1, float y1 ) : void
addFloorMesh ( float x1, float y1, float x2, float y2 ) : void
addLeftWallMesh ( float x1, float y1 ) : void
addRightWallMesh ( float x1, float y1 ) : void
addRoofMesh ( float x1, float y1, float x2, float y2 ) : void
addTopWallMesh ( float x1, float y1 ) : void
createMap ( ) : void

Method Details

Start() public method

public Start ( ) : void
return void

addBottomWallMesh() public method

public addBottomWallMesh ( float x1, float y1 ) : void
x1 float
y1 float
return void

addFloorMesh() public method

public addFloorMesh ( float x1, float y1, float x2, float y2 ) : void
x1 float
y1 float
x2 float
y2 float
return void

addLeftWallMesh() public method

public addLeftWallMesh ( float x1, float y1 ) : void
x1 float
y1 float
return void

addRightWallMesh() public method

public addRightWallMesh ( float x1, float y1 ) : void
x1 float
y1 float
return void

addRoofMesh() public method

public addRoofMesh ( float x1, float y1, float x2, float y2 ) : void
x1 float
y1 float
x2 float
y2 float
return void

addTopWallMesh() public method

public addTopWallMesh ( float x1, float y1 ) : void
x1 float
y1 float
return void

createMap() public method

public createMap ( ) : void
return void

Property Details

drawplane public_oe property

public Transform drawplane
return Transform

floorholder public_oe property

public Transform floorholder
return Transform

mapsize public_oe property

public int mapsize
return int

noiseScale public_oe property

public float noiseScale
return float

roofholder public_oe property

public Transform roofholder
return Transform

wallHeight public_oe property

public int wallHeight
return int

wallholder public_oe property

public Transform wallholder
return Transform