C# Class Resource, ES2015C

Inheritance: MonoBehaviour
Afficher le fichier Open project: jgirald/ES2015C Class Usage Examples

Méthodes publiques

Свойство Type Description
amountLeft float
capacity float

Protected Properties

Свойство Type Description
resourceType ResourceType

Méthodes publiques

Méthode Description
GetResourceType ( ) : ResourceType,
Remove ( float amount ) : void
isEmpty ( ) : bool

Méthodes protégées

Méthode Description
Awake ( ) : void
CalculateCurrentHealth ( ) : void

Private Methods

Méthode Description
FittedBoxCollider ( ) : void

Method Details

Awake() protected méthode

protected Awake ( ) : void
Résultat void

CalculateCurrentHealth() protected méthode

protected CalculateCurrentHealth ( ) : void
Résultat void

GetResourceType() public méthode

public GetResourceType ( ) : ResourceType,
Résultat ResourceType,

Remove() public méthode

public Remove ( float amount ) : void
amount float
Résultat void

isEmpty() public méthode

public isEmpty ( ) : bool
Résultat bool

Property Details

amountLeft public_oe property

public float amountLeft
Résultat float

capacity public_oe property

public float capacity
Résultat float

resourceType protected_oe property

protected ResourceType resourceType
Résultat ResourceType