C# 클래스 Sol.Inventory

상속: Menu
파일 보기 프로젝트 열기: Stumpstump/RoverGame

공개 프로퍼티들

프로퍼티 타입 설명
ContainerExchange bool
InventorySlotContainer UnityEngine.Transform
dropButton UnityEngine.UI.Button
equipmentPanel EquipmentPanel
ingredientsInInventory List
inventorySlotPrefab InventorySlot
previewCamera UnityEngine.Camera
toggleGroup UnityEngine.UI.ToggleGroup
useButton UnityEngine.UI.Button
useItemEffect UnityEngine.AudioClip

공개 메소드들

메소드 설명
AddInventoryItem ( Ingredient ingredient, int count ) : void
BuildInventorySlot ( Ingredient ingredient, int count ) : void
Close ( ) : void
CloseInfoPanel ( ) : void
GetIngredientAmount ( Ingredient ingredient ) : int
GetIngredientAmount ( int ingredientId ) : int
InitializeInventorySlots ( ) : void
Open ( ) : void
Open ( bool containerExchange = false ) : void
OpenInfoPanel ( ) : void
RemoveAllInventoryItems ( ) : void
RemoveInventoryItem ( Ingredient ingredient, int count ) : void

비공개 메소드들

메소드 설명
Awake ( ) : void
CloseMessageMenu ( ) : void
CloseMessageMenuCoroutine ( ) : IEnumerator
Transfer ( ) : void

메소드 상세

AddInventoryItem() 공개 메소드

public AddInventoryItem ( Ingredient ingredient, int count ) : void
ingredient Ingredient
count int
리턴 void

BuildInventorySlot() 공개 메소드

public BuildInventorySlot ( Ingredient ingredient, int count ) : void
ingredient Ingredient
count int
리턴 void

Close() 공개 메소드

public Close ( ) : void
리턴 void

CloseInfoPanel() 공개 메소드

public CloseInfoPanel ( ) : void
리턴 void

GetIngredientAmount() 공개 메소드

public GetIngredientAmount ( Ingredient ingredient ) : int
ingredient Ingredient
리턴 int

GetIngredientAmount() 공개 메소드

public GetIngredientAmount ( int ingredientId ) : int
ingredientId int
리턴 int

InitializeInventorySlots() 공개 메소드

public InitializeInventorySlots ( ) : void
리턴 void

Open() 공개 메소드

public Open ( ) : void
리턴 void

Open() 공개 메소드

public Open ( bool containerExchange = false ) : void
containerExchange bool
리턴 void

OpenInfoPanel() 공개 메소드

public OpenInfoPanel ( ) : void
리턴 void

RemoveAllInventoryItems() 공개 메소드

public RemoveAllInventoryItems ( ) : void
리턴 void

RemoveInventoryItem() 공개 메소드

public RemoveInventoryItem ( Ingredient ingredient, int count ) : void
ingredient Ingredient
count int
리턴 void

프로퍼티 상세

ContainerExchange 공개적으로 프로퍼티

public bool ContainerExchange
리턴 bool

InventorySlotContainer 공개적으로 프로퍼티

public Transform,UnityEngine InventorySlotContainer
리턴 UnityEngine.Transform

dropButton 공개적으로 프로퍼티

public Button,UnityEngine.UI dropButton
리턴 UnityEngine.UI.Button

equipmentPanel 공개적으로 프로퍼티

public EquipmentPanel,Sol equipmentPanel
리턴 EquipmentPanel

ingredientsInInventory 공개적으로 프로퍼티

public List ingredientsInInventory
리턴 List

inventorySlotPrefab 공개적으로 프로퍼티

public InventorySlot,Sol inventorySlotPrefab
리턴 InventorySlot

previewCamera 공개적으로 프로퍼티

public Camera,UnityEngine previewCamera
리턴 UnityEngine.Camera

toggleGroup 공개적으로 프로퍼티

public ToggleGroup,UnityEngine.UI toggleGroup
리턴 UnityEngine.UI.ToggleGroup

useButton 공개적으로 프로퍼티

public Button,UnityEngine.UI useButton
리턴 UnityEngine.UI.Button

useItemEffect 공개적으로 프로퍼티

public AudioClip,UnityEngine useItemEffect
리턴 UnityEngine.AudioClip