C# Class GameObjectFactory, unity-game-kappakiwi

ファイルを表示 Open project: clee842/unity-game-kappakiwi Class Usage Examples

Protected Properties

Property Type Description
currentPlatform GameObject
newEnemy GameObject
newItem GameObject
newObstacle GameObject
newPlatform GameObject
rng RNGStateGenerator

Public Methods

Method Description
generateLevelStart ( ) : void
generateTick ( ) : void

Protected Methods

Method Description
generateOneTickEnemies ( float y, bool firstTick ) : void
generateOneTickItems ( float y ) : void
generateOneTickPlatforms ( float y, bool firstTick ) : float

Method Details

generateLevelStart() public method

public generateLevelStart ( ) : void
return void

generateOneTickEnemies() protected method

protected generateOneTickEnemies ( float y, bool firstTick ) : void
y float
firstTick bool
return void

generateOneTickItems() protected method

protected generateOneTickItems ( float y ) : void
y float
return void

generateOneTickPlatforms() protected method

protected generateOneTickPlatforms ( float y, bool firstTick ) : float
y float
firstTick bool
return float

generateTick() public method

public generateTick ( ) : void
return void

Property Details

currentPlatform protected_oe property

protected GameObject currentPlatform
return GameObject

newEnemy protected_oe property

protected GameObject newEnemy
return GameObject

newItem protected_oe property

protected GameObject newItem
return GameObject

newObstacle protected_oe property

protected GameObject newObstacle
return GameObject

newPlatform protected_oe property

protected GameObject newPlatform
return GameObject

rng protected_oe property

protected RNGStateGenerator rng
return RNGStateGenerator