Show / Hide Table of Contents

Class LeftArrowElement

The component representing the left arrow in an Inventory Pane

Inheritance
object
Object
Component
Behaviour
MonoBehaviour
InventoryElement
ArrowElement
LeftArrowElement
Inherited Members
ArrowElement.Awake()
InventoryElement.MainPanel
InventoryElement.Highlightable
InventoryElement.OnHighlight()
InventoryElement.OnUnHighlight()
InventoryElement.CursorPos
InventoryElement.CursorSize
InventoryElement.CursorOffset
Namespace: WeaverCore.Inventory
Assembly: WeaverCore.dll
Syntax
public class LeftArrowElement : ArrowElement

Properties

| Edit this page View Source

ArrowType

Declaration
public override ArrowElement.ArrowState ArrowType { get; }
Property Value
Type Description
ArrowElement.ArrowState
Overrides
ArrowElement.ArrowType
| Edit this page View Source

Selectable

Can the player click on this inventory element?

Declaration
public override bool Selectable { get; }
Property Value
Type Description
bool
Overrides
InventoryElement.Selectable

Methods

| Edit this page View Source

NavigateTo(MoveDirection)

Called when the player wants to move to a nearby element. For example, if the player wants to move up in the UI, this function specifies which element the player will go to next

Declaration
public override InventoryElement NavigateTo(InventoryElement.MoveDirection move)
Parameters
Type Name Description
InventoryElement.MoveDirection move

The movement direction the player is going in

Returns
Type Description
InventoryElement

The next element to move to, or null if there is no element to move to

Overrides
InventoryElement.NavigateTo(InventoryElement.MoveDirection)
| Edit this page View Source

OnClick()

Called when the player clicks on this element. Selectable must be set to true for this to trigger

Declaration
public override void OnClick()
Overrides
InventoryElement.OnClick()

Extension Methods

ReflectionUtilities.ReflectCallMethod(object, string, object[], BindingFlags)
ReflectionUtilities.ReflectGetField(object, string, BindingFlags)
ReflectionUtilities.ReflectGetMethod(object, string, BindingFlags)
ReflectionUtilities.ReflectGetProperty(object, string, BindingFlags)
ReflectionUtilities.ReflectSetField(object, string, object, BindingFlags)
ReflectionUtilities.ReflectSetProperty(object, string, object, BindingFlags)
CoroutineUtilities.RunCoroutineWhile<T>(T, IEnumerator, Func<bool>)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾