Corgi Engine v9.3
MoreMountains.InventoryEngine.InventorySelectionMarker Class Reference

This class handles the selection marker, that will mark the currently selected slot More...

Inheritance diagram for MoreMountains.InventoryEngine.InventorySelectionMarker:

Public Attributes

float TransitionSpeed =5f
 the speed at which the selection marker will move from one slot to the other More...
 
float MinimalTransitionDistance =0.01f
 the threshold distance at which the marker will stop moving More...
 

Protected Member Functions

virtual void Start ()
 On Start, we get the associated rect transform More...
 
virtual void Update ()
 On Update, we get the current selected object, and we move the marker to it if necessary More...
 

Protected Attributes

RectTransform _rectTransform
 
GameObject _currentSelection
 
Vector3 _originPosition
 
Vector3 _originLocalScale
 
Vector3 _originSizeDelta
 
float _originTime
 
bool _originIsNull =true
 
float _deltaTime
 

Detailed Description

This class handles the selection marker, that will mark the currently selected slot

Member Function Documentation

◆ Start()

virtual void MoreMountains.InventoryEngine.InventorySelectionMarker.Start ( )
protectedvirtual

On Start, we get the associated rect transform

◆ Update()

virtual void MoreMountains.InventoryEngine.InventorySelectionMarker.Update ( )
protectedvirtual

On Update, we get the current selected object, and we move the marker to it if necessary

Member Data Documentation

◆ _currentSelection

GameObject MoreMountains.InventoryEngine.InventorySelectionMarker._currentSelection
protected

◆ _deltaTime

float MoreMountains.InventoryEngine.InventorySelectionMarker._deltaTime
protected

◆ _originIsNull

bool MoreMountains.InventoryEngine.InventorySelectionMarker._originIsNull =true
protected

◆ _originLocalScale

Vector3 MoreMountains.InventoryEngine.InventorySelectionMarker._originLocalScale
protected

◆ _originPosition

Vector3 MoreMountains.InventoryEngine.InventorySelectionMarker._originPosition
protected

◆ _originSizeDelta

Vector3 MoreMountains.InventoryEngine.InventorySelectionMarker._originSizeDelta
protected

◆ _originTime

float MoreMountains.InventoryEngine.InventorySelectionMarker._originTime
protected

◆ _rectTransform

RectTransform MoreMountains.InventoryEngine.InventorySelectionMarker._rectTransform
protected

◆ MinimalTransitionDistance

float MoreMountains.InventoryEngine.InventorySelectionMarker.MinimalTransitionDistance =0.01f

the threshold distance at which the marker will stop moving

◆ TransitionSpeed

float MoreMountains.InventoryEngine.InventorySelectionMarker.TransitionSpeed =5f

the speed at which the selection marker will move from one slot to the other


The documentation for this class was generated from the following file: