Corgi Engine  v8.8
MoreMountains.InventoryEngine.PickableInventoryItemEditor Class Reference

Pickable inventory item editor. More...

Inheritance diagram for MoreMountains.InventoryEngine.PickableInventoryItemEditor:

Public Member Functions

override void OnInspectorGUI ()
 When drawing the inspector, we display a popup allowing the user to add the item to a specific inventory More...
 

Protected Member Functions

virtual void OnEnable ()
 On Enable, we load a list of potential target inventories, and store that in an array More...
 

Protected Attributes

int _targetInventoryIndex = 0
 
List< string > _targetInventoriesList = new List<string>()
 
string[] _targetInventories
 

Properties

ItemPicker ItemTarget [get]
 Gets the item target for future reference More...
 

Detailed Description

Pickable inventory item editor.

Member Function Documentation

◆ OnEnable()

virtual void MoreMountains.InventoryEngine.PickableInventoryItemEditor.OnEnable ( )
protectedvirtual

On Enable, we load a list of potential target inventories, and store that in an array

◆ OnInspectorGUI()

override void MoreMountains.InventoryEngine.PickableInventoryItemEditor.OnInspectorGUI ( )

When drawing the inspector, we display a popup allowing the user to add the item to a specific inventory

Member Data Documentation

◆ _targetInventories

string [] MoreMountains.InventoryEngine.PickableInventoryItemEditor._targetInventories
protected

◆ _targetInventoriesList

List<string> MoreMountains.InventoryEngine.PickableInventoryItemEditor._targetInventoriesList = new List<string>()
protected

◆ _targetInventoryIndex

int MoreMountains.InventoryEngine.PickableInventoryItemEditor._targetInventoryIndex = 0
protected

Property Documentation

◆ ItemTarget

ItemPicker MoreMountains.InventoryEngine.PickableInventoryItemEditor.ItemTarget
get

Gets the item target for future reference

The item target.


The documentation for this class was generated from the following file: