Class HudInventoryItemBase
Inheritance
HudInventoryItemBase
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: NeoFPS
Assembly: NeoFPS.dll
Syntax
public abstract class HudInventoryItemBase : MonoBehaviour
Properties
iconImage
Declaration
public Image iconImage { get; }
Property Value
| Type | Description |
|---|---|
| Image |
item
Declaration
public IQuickSlotItem item { get; }
Property Value
| Type | Description |
|---|---|
| IQuickSlotItem |
selected
Declaration
public bool selected { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
slotIndex
Declaration
public int slotIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
slotText
Declaration
public Text slotText { get; }
Property Value
| Type | Description |
|---|---|
| Text |
Methods
OnDeselect()
Declaration
protected virtual void OnDeselect()
OnSelect()
Declaration
protected virtual void OnSelect()
SetItem(IQuickSlotItem)
Declaration
public virtual void SetItem(IQuickSlotItem to)
Parameters
| Type | Name | Description |
|---|---|---|
| IQuickSlotItem | to |