C# Class CollectResources, ES2015F

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

Méthodes publiques

Свойство Type Description
animator Animator
collectSpeed int
gatheringAnimationBools string>.Dictionary
goingToCollect bool
resourceBank ResourceValueDictionary
targetObject GameObject
unitMovement UnitMovement,

Méthodes publiques

Méthode Description
collect ( ) : void
returnToCollect ( ) : void
startMovingToCollect ( GameObject targetResource ) : void
startMovingToStorage ( ) : void
store ( ) : void
totalCollected ( ) : int

Private Methods

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

Method Details

collect() public méthode

public collect ( ) : void
Résultat void

returnToCollect() public méthode

public returnToCollect ( ) : void
Résultat void

startMovingToCollect() public méthode

public startMovingToCollect ( GameObject targetResource ) : void
targetResource GameObject
Résultat void

startMovingToStorage() public méthode

public startMovingToStorage ( ) : void
Résultat void

store() public méthode

public store ( ) : void
Résultat void

totalCollected() public méthode

public totalCollected ( ) : int
Résultat int

Property Details

animator public_oe property

public Animator animator
Résultat Animator

collectSpeed public_oe property

public int collectSpeed
Résultat int

gatheringAnimationBools public_oe static_oe property

public static Dictionary gatheringAnimationBools
Résultat string>.Dictionary

goingToCollect public_oe property

public bool goingToCollect
Résultat bool

resourceBank public_oe property

public ResourceValueDictionary resourceBank
Résultat ResourceValueDictionary

targetObject public_oe property

public GameObject targetObject
Résultat GameObject

unitMovement public_oe property

public UnitMovement, unitMovement
Résultat UnitMovement,