C# 클래스 Resource, ES2015C

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

공개 프로퍼티들

프로퍼티 타입 설명
amountLeft float
capacity float

보호된 프로퍼티들

프로퍼티 타입 설명
resourceType ResourceType

공개 메소드들

메소드 설명
GetResourceType ( ) : ResourceType,
Remove ( float amount ) : void
isEmpty ( ) : bool

보호된 메소드들

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

비공개 메소드들

메소드 설명
FittedBoxCollider ( ) : void

메소드 상세

Awake() 보호된 메소드

protected Awake ( ) : void
리턴 void

CalculateCurrentHealth() 보호된 메소드

protected CalculateCurrentHealth ( ) : void
리턴 void

GetResourceType() 공개 메소드

public GetResourceType ( ) : ResourceType,
리턴 ResourceType,

Remove() 공개 메소드

public Remove ( float amount ) : void
amount float
리턴 void

isEmpty() 공개 메소드

public isEmpty ( ) : bool
리턴 bool

프로퍼티 상세

amountLeft 공개적으로 프로퍼티

public float amountLeft
리턴 float

capacity 공개적으로 프로퍼티

public float capacity
리턴 float

resourceType 보호되어 있는 프로퍼티

protected ResourceType resourceType
리턴 ResourceType