🎯Active Selections
Learn more about how you can customise behaviour of the selections.
Overview
// A way to access reference of the component
var activeSelections = UnitSelector.Instance.ActiveSelections;
// Read data at any point
List<GameObject> highlightedUnits = activeSelections.HighlightedUnits;
List<GameObject> selectedUnits = activeSelections.SelectedUnits;
GameObject hoveringObject = activeSelections.HoveringOverUnit;
GameObject clickedObject = activeSelections.ClickedGameObject;Configuration
Debug

Public Methods
Interfaces
IFilterSelection interface
ISortSelection Interface
Last updated