Interface IQuickSlotItem
Assembly: NeoFPS.dll
Syntax
public interface IQuickSlotItem
Properties
displayImage
Declaration
Sprite displayImage { get; }
Property Value
gameObject
Declaration
GameObject gameObject { get; }
Property Value
| Type |
Description |
| GameObject |
|
isDroppable
Declaration
bool isDroppable { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
isSelectable
Declaration
bool isSelectable { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
isSelected
Declaration
Property Value
| Type |
Description |
| System.Boolean |
|
isUsable
Declaration
Property Value
| Type |
Description |
| System.Boolean |
|
quickSlot
Declaration
Property Value
| Type |
Description |
| System.Int32 |
|
slots
Declaration
IQuickSlots slots { get; }
Property Value
Declaration
Transform transform { get; }
Property Value
| Type |
Description |
| Transform |
|
wieldable
Declaration
IWieldable wieldable { get; }
Property Value
Methods
DropItem(Vector3, Vector3, Vector3)
Declaration
bool DropItem(Vector3 position, Vector3 forward, Vector3 velocity)
Parameters
| Type |
Name |
Description |
| Vector3 |
position |
|
| Vector3 |
forward |
|
| Vector3 |
velocity |
|
Returns
| Type |
Description |
| System.Boolean |
|
GetComponent(Type)
Declaration
Component GetComponent(Type t)
Parameters
| Type |
Name |
Description |
| System.Type |
t |
|
Returns
| Type |
Description |
| Component |
|
GetComponent<T>()
Declaration
Returns
Type Parameters
GetComponentInChildren(Type)
Declaration
Component GetComponentInChildren(Type t)
Parameters
| Type |
Name |
Description |
| System.Type |
t |
|
Returns
| Type |
Description |
| Component |
|
GetComponentInChildren<T>()
Declaration
T GetComponentInChildren<T>()
Returns
Type Parameters
GetComponentInParent(Type)
Declaration
Component GetComponentInParent(Type t)
Parameters
| Type |
Name |
Description |
| System.Type |
t |
|
Returns
| Type |
Description |
| Component |
|
GetComponentInParent<T>()
Declaration
T GetComponentInParent<T>()
Returns
Type Parameters
GetComponents(Type)
Declaration
Component[] GetComponents(Type t)
Parameters
| Type |
Name |
Description |
| System.Type |
t |
|
Returns
| Type |
Description |
| Component[] |
|
GetComponents<T>()
Declaration
Returns
Type Parameters
GetComponentsInChildren(Type, Boolean)
Declaration
Component[] GetComponentsInChildren(Type t, bool includeInactive = false)
Parameters
| Type |
Name |
Description |
| System.Type |
t |
|
| System.Boolean |
includeInactive |
|
Returns
| Type |
Description |
| Component[] |
|
GetComponentsInChildren<T>(Boolean)
Declaration
T[] GetComponentsInChildren<T>(bool includeInactive = false)
Parameters
| Type |
Name |
Description |
| System.Boolean |
includeInactive |
|
Returns
Type Parameters
GetComponentsInParent(Type, Boolean)
Declaration
Component[] GetComponentsInParent(Type t, bool includeInactive = false)
Parameters
| Type |
Name |
Description |
| System.Type |
t |
|
| System.Boolean |
includeInactive |
|
Returns
| Type |
Description |
| Component[] |
|
GetComponentsInParent<T>(Boolean)
Declaration
T[] GetComponentsInParent<T>(bool includeInactive = false)
Parameters
| Type |
Name |
Description |
| System.Boolean |
includeInactive |
|
Returns
Type Parameters
OnDeselect()
Declaration
Returns
OnDeselectInstant()
Declaration
OnSelect()
Declaration
UseItem()
Declaration