Class PlayerMenuPartnerUI
Class for customize partner ui for player menu ui
Implements
Properties
BackgroundRect
Rect position of the background range in global space
Declaration
public IRect BackgroundRect { get; protected set; }
Column
Inventory column count
Declaration
public virtual int Column { get; }
InventoryID
ID for inventory system
Declaration
public int InventoryID { get; set; }
ItemFieldSize
Unified size of a single item field
Declaration
public virtual int ItemFieldSize { get; }
MouseInPanel
Trie if mouse cursor is currently inside this panel
Declaration
public bool MouseInPanel { get; set; }
Row
Inventory row count
Declaration
public virtual int Row { get; }
Methods
DrawPanel(IRect)
This function is called every frame for displaying this panel
Declaration
public virtual void DrawPanel(IRect panelRect)
Parameters
Type | Name | Description |
---|---|---|
IRect | panelRect | Rect position for the range of this panel in global space |
EnablePanel()
This function is called when the panel start to display
Declaration
public virtual void EnablePanel()
Unify(int)
Convert unified size into global size
Declaration
protected static int Unify(int value)