C# Class ModuleCreator, The-next-step

Inheritance: MonoBehaviour
Exibir arquivo Open project: esther5576/The-next-step Class Usage Examples

Public Properties

Property Type Description
_OnSound bool
_price float

Protected Properties

Property Type Description
_gridCellSize float
_instance ModuleCreator,
_onDeployement bool
_terrain Terrain

Public Methods

Method Description
Deploy ( GameObject ObjectToDeploy ) : void

Deploy the specified Object.

Initiate ( float GridCellSize ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
CheckForConstruction ( Vector3 pos, Vector3 size, int raycastMultiplier, float DiffMax ) : bool

Checks for construction.

Deployement ( GameObject ObjectToDeploy ) : IEnumerator

Deployement of the specified Object.

Method Details

Deploy() public method

Deploy the specified Object.
public Deploy ( GameObject ObjectToDeploy ) : void
ObjectToDeploy GameObject Object to deploy
return void

Initiate() public method

public Initiate ( float GridCellSize ) : void
GridCellSize float
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

_OnSound public_oe property

public bool _OnSound
return bool

_gridCellSize protected_oe property

protected float _gridCellSize
return float

_instance protected_oe static_oe property

protected static ModuleCreator, _instance
return ModuleCreator,

_onDeployement protected_oe property

protected bool _onDeployement
return bool

_price public_oe property

public float _price
return float

_terrain protected_oe property

protected Terrain _terrain
return Terrain