C# 클래스 LootFactory

상속: MonoBehaviour
파일 보기 프로젝트 열기: marouen-lamiri/Second-Soul 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
itemHolderPrefab ItemHolder,

공개 메소드들

메소드 설명
determineDrop ( float dropRate, Vector3 originPostion ) : void

비공개 메소드들

메소드 설명
Start ( ) : void
Update ( ) : void
addItemToDict ( System type, int weight ) : void
initializeItemsAndWeights ( ) : void

메소드 상세

determineDrop() 공개 메소드

public determineDrop ( float dropRate, Vector3 originPostion ) : void
dropRate float
originPostion Vector3
리턴 void

프로퍼티 상세

itemHolderPrefab 공개적으로 프로퍼티

public ItemHolder, itemHolderPrefab
리턴 ItemHolder,