Publisher | TRavljen |
---|---|
File size | 298.50kB |
Number of files | 58 |
Latest version | 0.8.0 |
Latest release date | 2024-05-21 04:11:11 |
First release date | 2024-05-21 04:11:11 |
Supported Unity versions | 2018.4.2 or higher |
This package is based on DOTS.
Uses Entities and NOT GameObjects for units. Also utilises Job and Burst for optimised performance. This means selecting a thousand units is not a problem!
If you are looking for GameObject Unit Selection, here is the LINK.
Because this is an early version it will be free for a while, until all features and found bugs are resolved.
Otherwise simple Unit Selection package suitable for games that require RTS style selection.
- enables single or multiple unit selection (more features below)
- short well documented code
- no-coding required for out-of-the-box use! well, except for selection change listener
- extra customisation requires minimal coding (if you find feature missing that you'd like to see let me know!)
- quick setup (2min)
- interface for custom selection area functionality
- interface for input system
- 1 selection prefab included (2D rectangle selection area)
- includes simple demo scene with no additional 3D models or other assets seen on previews!
FEATURES:
Click and drag with mouse:
- click on unit will select it
- drag mouse will select (highlight before mouse release) all units in selection area
- sort units by their distance from start of the drag
Shift hotkey:
- shift+drag mouse will add all units in selection area to current selection
- shift+click on unit will toggle unit selection (select/deselect)
Configurations:
- adjustable number for maximal selected units
- option to disable maximum selection number
- option to disable mouse double click
- option to disable shift selection (adding to current selection)
- option to disable click on friendly, neutral and enemy units (units not owned by player; usually used to get information about enemy unit in RTS games)
- disable highlighting with drag selection
Misc
- by default it will ignore interactions with UI elements (selection through buttons won't work, neither will it cancel current selection when clicked on)
- move mouse over a unit to highlight it
Instructions: You can find them at the start of the documentation PDF, few simple steps.
NEW*
For any additional questions or help you can join the new Discord Channel