C# Class CollectResources, ES2015F

Inheritance: MonoBehaviour
ファイルを表示 Open project: jgirald/ES2015F Class Usage Examples

Public Properties

Property Type Description
animator Animator
collectSpeed int
gatheringAnimationBools string>.Dictionary
goingToCollect bool
resourceBank ResourceValueDictionary
targetObject GameObject
unitMovement UnitMovement,

Public Methods

Method Description
collect ( ) : void
returnToCollect ( ) : void
startMovingToCollect ( GameObject targetResource ) : void
startMovingToStorage ( ) : void
store ( ) : void
totalCollected ( ) : int

Private Methods

Method Description
Awake ( ) : void
addResource ( ) : void

Method Details

collect() public method

public collect ( ) : void
return void

returnToCollect() public method

public returnToCollect ( ) : void
return void

startMovingToCollect() public method

public startMovingToCollect ( GameObject targetResource ) : void
targetResource GameObject
return void

startMovingToStorage() public method

public startMovingToStorage ( ) : void
return void

store() public method

public store ( ) : void
return void

totalCollected() public method

public totalCollected ( ) : int
return int

Property Details

animator public_oe property

public Animator animator
return Animator

collectSpeed public_oe property

public int collectSpeed
return int

gatheringAnimationBools public_oe static_oe property

public static Dictionary gatheringAnimationBools
return string>.Dictionary

goingToCollect public_oe property

public bool goingToCollect
return bool

resourceBank public_oe property

public ResourceValueDictionary resourceBank
return ResourceValueDictionary

targetObject public_oe property

public GameObject targetObject
return GameObject

unitMovement public_oe property

public UnitMovement, unitMovement
return UnitMovement,