Class WieldableRootStep
Inheritance
WieldableRootStep
Assembly: NeoFPS.dll
Syntax
public abstract class WieldableRootStep : NeoFpsWizardStep
Fields
category
Declaration
public FpsSwappableCategory category
Field Value
displayImage
Declaration
public Sprite displayImage
Field Value
inventoryStackIndex
Declaration
public int inventoryStackIndex
Field Value
| Type |
Description |
| System.Int32 |
|
inventoryStackPriority
Declaration
public int inventoryStackPriority
Field Value
| Type |
Description |
| System.Int32 |
|
inventoryType
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
itemKey
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
maxQuantity
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
slotIndex
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
Properties
canHoldMultiple
Declaration
protected abstract bool canHoldMultiple { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
AddInventoryToObject(GameObject)
Declaration
public void AddInventoryToObject(GameObject gameObject)
Parameters
| Type |
Name |
Description |
| GameObject |
gameObject |
|
Awake()
Declaration
protected virtual void Awake()
GetDefaultCategory()
Declaration
protected abstract FpsSwappableCategory GetDefaultCategory()
Returns
InspectInventoryOptions(SerializedObject)
Declaration
protected bool InspectInventoryOptions(SerializedObject serializedObject)
Parameters
| Type |
Name |
Description |
| SerializedObject |
serializedObject |
|
Returns
| Type |
Description |
| System.Boolean |
|
OnValidate()
Declaration
protected virtual void OnValidate()
SummariseInventoryOptions()
Declaration
protected void SummariseInventoryOptions()