Property | Type | Description | |
---|---|---|---|
animator | Animator | ||
collectSpeed | int | ||
gatheringAnimationBools | string>.Dictionary | ||
goingToCollect | bool | ||
resourceBank | ResourceValueDictionary | ||
targetObject | GameObject | ||
unitMovement | UnitMovement, |
Method | Description | |
---|---|---|
collect ( ) : void | ||
returnToCollect ( ) : void | ||
startMovingToCollect ( GameObject targetResource ) : void | ||
startMovingToStorage ( ) : void | ||
store ( ) : void | ||
totalCollected ( ) : int |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
addResource ( ) : void |
public startMovingToCollect ( GameObject targetResource ) : void | ||
targetResource | GameObject | |
return | void |
public static Dictionary |
||
return | string>.Dictionary |
public ResourceValueDictionary resourceBank | ||
return | ResourceValueDictionary |