C# Class ModuleCreator, The-next-step

Inheritance: MonoBehaviour
Afficher le fichier Open project: esther5576/The-next-step Class Usage Examples

Méthodes publiques

Свойство Type Description
_OnSound bool
_price float

Protected Properties

Свойство Type Description
_gridCellSize float
_instance ModuleCreator,
_onDeployement bool
_terrain Terrain

Méthodes publiques

Méthode Description
Deploy ( GameObject ObjectToDeploy ) : void

Deploy the specified Object.

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

Private Methods

Méthode 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 méthode

Deploy the specified Object.
public Deploy ( GameObject ObjectToDeploy ) : void
ObjectToDeploy GameObject Object to deploy
Résultat void

Initiate() public méthode

public Initiate ( float GridCellSize ) : void
GridCellSize float
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

_OnSound public_oe property

public bool _OnSound
Résultat bool

_gridCellSize protected_oe property

protected float _gridCellSize
Résultat float

_instance protected_oe static_oe property

protected static ModuleCreator, _instance
Résultat ModuleCreator,

_onDeployement protected_oe property

protected bool _onDeployement
Résultat bool

_price public_oe property

public float _price
Résultat float

_terrain protected_oe property

protected Terrain _terrain
Résultat Terrain