C# Class Sol.Inventory

Inheritance: Menu
Afficher le fichier Open project: Stumpstump/RoverGame

Méthodes publiques

Свойство Type Description
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

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
Awake ( ) : void
CloseMessageMenu ( ) : void
CloseMessageMenuCoroutine ( ) : IEnumerator
Transfer ( ) : void

Method Details

AddInventoryItem() public méthode

public AddInventoryItem ( Ingredient ingredient, int count ) : void
ingredient Ingredient
count int
Résultat void

BuildInventorySlot() public méthode

public BuildInventorySlot ( Ingredient ingredient, int count ) : void
ingredient Ingredient
count int
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

CloseInfoPanel() public méthode

public CloseInfoPanel ( ) : void
Résultat void

GetIngredientAmount() public méthode

public GetIngredientAmount ( Ingredient ingredient ) : int
ingredient Ingredient
Résultat int

GetIngredientAmount() public méthode

public GetIngredientAmount ( int ingredientId ) : int
ingredientId int
Résultat int

InitializeInventorySlots() public méthode

public InitializeInventorySlots ( ) : void
Résultat void

Open() public méthode

public Open ( ) : void
Résultat void

Open() public méthode

public Open ( bool containerExchange = false ) : void
containerExchange bool
Résultat void

OpenInfoPanel() public méthode

public OpenInfoPanel ( ) : void
Résultat void

RemoveAllInventoryItems() public méthode

public RemoveAllInventoryItems ( ) : void
Résultat void

RemoveInventoryItem() public méthode

public RemoveInventoryItem ( Ingredient ingredient, int count ) : void
ingredient Ingredient
count int
Résultat void

Property Details

ContainerExchange public_oe property

public bool ContainerExchange
Résultat bool

InventorySlotContainer public_oe property

public Transform,UnityEngine InventorySlotContainer
Résultat UnityEngine.Transform

dropButton public_oe property

public Button,UnityEngine.UI dropButton
Résultat UnityEngine.UI.Button

equipmentPanel public_oe property

public EquipmentPanel,Sol equipmentPanel
Résultat EquipmentPanel

ingredientsInInventory public_oe property

public List ingredientsInInventory
Résultat List

inventorySlotPrefab public_oe property

public InventorySlot,Sol inventorySlotPrefab
Résultat InventorySlot

previewCamera public_oe property

public Camera,UnityEngine previewCamera
Résultat UnityEngine.Camera

toggleGroup public_oe property

public ToggleGroup,UnityEngine.UI toggleGroup
Résultat UnityEngine.UI.ToggleGroup

useButton public_oe property

public Button,UnityEngine.UI useButton
Résultat UnityEngine.UI.Button

useItemEffect public_oe property

public AudioClip,UnityEngine useItemEffect
Résultat UnityEngine.AudioClip