C# 클래스 CollectResources, ES2015F

상속: MonoBehaviour
파일 보기 프로젝트 열기: jgirald/ES2015F 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
animator Animator
collectSpeed int
gatheringAnimationBools string>.Dictionary
goingToCollect bool
resourceBank ResourceValueDictionary
targetObject GameObject
unitMovement UnitMovement,

공개 메소드들

메소드 설명
collect ( ) : void
returnToCollect ( ) : void
startMovingToCollect ( GameObject targetResource ) : void
startMovingToStorage ( ) : void
store ( ) : void
totalCollected ( ) : int

비공개 메소드들

메소드 설명
Awake ( ) : void
addResource ( ) : void

메소드 상세

collect() 공개 메소드

public collect ( ) : void
리턴 void

returnToCollect() 공개 메소드

public returnToCollect ( ) : void
리턴 void

startMovingToCollect() 공개 메소드

public startMovingToCollect ( GameObject targetResource ) : void
targetResource GameObject
리턴 void

startMovingToStorage() 공개 메소드

public startMovingToStorage ( ) : void
리턴 void

store() 공개 메소드

public store ( ) : void
리턴 void

totalCollected() 공개 메소드

public totalCollected ( ) : int
리턴 int

프로퍼티 상세

animator 공개적으로 프로퍼티

public Animator animator
리턴 Animator

collectSpeed 공개적으로 프로퍼티

public int collectSpeed
리턴 int

gatheringAnimationBools 공개적으로 정적으로 프로퍼티

public static Dictionary gatheringAnimationBools
리턴 string>.Dictionary

goingToCollect 공개적으로 프로퍼티

public bool goingToCollect
리턴 bool

resourceBank 공개적으로 프로퍼티

public ResourceValueDictionary resourceBank
리턴 ResourceValueDictionary

targetObject 공개적으로 프로퍼티

public GameObject targetObject
리턴 GameObject

unitMovement 공개적으로 프로퍼티

public UnitMovement, unitMovement
리턴 UnitMovement,