C# Class BuildingConstruction, ES2015F

Inheritance: MonoBehaviour
显示文件 Open project: jgirald/ES2015F Class Usage Examples

Public Properties

Property Type Description
initialMesh GameObject
progressMesh GameObject
timer float

Public Methods

Method Description
Awake ( ) : void
Update ( ) : void
deleteUnit ( GameObject unit ) : void
getConstructingUnits ( ) : List
getConstructionOnGoing ( ) : bool
getInitialMesh ( ) : GameObject
getPhase ( ) : int
setConstructionOnGoing ( bool b ) : void
setFinalMesh ( ) : void
startConstruction ( GameObject unit ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

Update() public method

public Update ( ) : void
return void

deleteUnit() public method

public deleteUnit ( GameObject unit ) : void
unit GameObject
return void

getConstructingUnits() public method

public getConstructingUnits ( ) : List
return List

getConstructionOnGoing() public method

public getConstructionOnGoing ( ) : bool
return bool

getInitialMesh() public method

public getInitialMesh ( ) : GameObject
return GameObject

getPhase() public method

public getPhase ( ) : int
return int

setConstructionOnGoing() public method

public setConstructionOnGoing ( bool b ) : void
b bool
return void

setFinalMesh() public method

public setFinalMesh ( ) : void
return void

startConstruction() public method

public startConstruction ( GameObject unit ) : void
unit GameObject
return void

Property Details

initialMesh public_oe property

public GameObject initialMesh
return GameObject

progressMesh public_oe property

public GameObject progressMesh
return GameObject

timer public_oe property

public float timer
return float