11000+款5星资源

8.5万+用户参与评分

10万+社区成员鼎力支持

每款资源都经过 Unity 审核

首页
工具
输入管理
此内容由第三方提供商托管,该第三方提供商在未接受Targeting Cookies的情况下不允许观看视频。如果您想观看来自这些提供商的视频,请将“Targeting Cookie”的Cookie偏好设置为“是”。
1/9
Start selecting your units right away! This selection system will do all the selecting for you, the package will provide all the logic you need for RTS-like selection of game objects.
可编程渲染管线(SRP)兼容性
Unity可编程渲染管线(SRP)是让您能够通过C#脚本控制渲染的一个功能。SRP是支撑通用渲染管线(URP)和高清渲染管线(HDRP)的底层技术。
Unity版本内置渲染管线通用渲染管线(URP)高清渲染管线(HDRP)
2021.3.45f1
兼容
兼容
兼容
其他兼容性信息

Selection system does not have any limitations when it comes to Scriptable Rendering Pipelines. But there might be few limitations when it comes to different rendering techniques of the selection indicators.

To learn more about these check out our official documentation.

描述

📄 Official Documentation


🚀 Strategy-Style Selection

Whether you're developing a strategy game, a simulation similar to The Sims, or a turn-based adventure, our Unit Selection System is designed to seamlessly integrate into your project.

This package supports single and multiple unit selection with various configurations.

  • Short well documented code
  • No-coding required for out-of-the-box use!
  • Quick Set up with step-by-step Guide
  • 2 selection areas included (2D and 3D)
  • Includes example demo scene with no additional 3D models or other assets seen on previews!

🔧 Core Functionality

  • Click on unit to select it
  • Drag mouse to create selection area and highlight units within it and then select units when selection button is release.
  • Double mouse click to select all visible units to the camera
  • Mouse hover highlight unit on cursor

🎮 Flexible Behaviour

Here is a list of few options available that can be enabled/disabled:

  • Max. selection: adjust maximal number of selected units, or disable the limit
  • Sort Units: sort units by distance from drag start position; comes in handy when selection has a maximum selection limit.
  • Modify existing selection: add or remove units to modify existing selection
  • Double Click: select all visible units on screen
  • Drag Selection: select all units when mouse drag is released
  • Drag Highlight: highligh units when mouse is dragged
  • And more

🧑‍🤝‍🧑 NEW*

  • Group/squad selection: Group units as a single selectable object.
  • Nearest/Furthest selection: On click or hover, when units are behind selectable walls.
  • Improved User experience: Now all core functionality configurable through a single component.
  • Global events: Selection events available in editor or anywhere in code.
  • Use filter: to specify selection for owned, friendly, neutral and enemy types.

🔑 Quick Unit Access

Optional component for quick access of units saved units.

  • Save and Recall with Ease: Use Ctrl+Hotkey to save selections and recall them with simple hotkey presses.
  • Customisation: Replace keys for any input actions to fit your needs.

🔲 Selection Prefabs Ready to Use

Choose from prefabs designed for 2D screen rectangle or 3D world cube selections, each utilizing different visual and unit detection methods. Extending and implementing your own is also supported.

  • 2D screen rectangle: Select objects using screen rectangle. Supports detection types: screen position, world position (frustum), renderer bounds and custom bounds.
  • 3D world cube: Select objects using cube in world space. Supports detection types: collision, position, renderer bounds and custom bounds.

🎮 Input Control Support

Works with newer Unity's InputSystem and older Input frameworks.

Prefabs for both are ready for use and each action can be configured.


Customisation

Every level of selection system is well defined by abstractions and interfaces. If ever there comes a time when the package won't suit all of your needs, you can replace any component with a custom one or write us with a feature request on this email.



Get Started Quickly

  • Drag & Drop Setup: Simply place the selection system prefab into your scene along with selection area.
  • Flexible Configuration: Adjust component settings to match your game’s mechanics.
  • Immediate Selection Capabilities: Add the SelectableUnit component to any game object in your scene for instant selection functionality.
  • Visuals: Drag & drop selection indicator prefab on unit and connect it to SelectableUnit component.

And now you're done!

📭 Support Ready: Have a question or need help? Reach out via Email, Discord, or our Forum!

RTS Unit Selection v2.0

(暂无评分)
14 users have favourite this asset
(14)
$15
席位
1
更新的价格和增值税在结算时计算
退款政策
该资源受Unity资源商店退款政策约束。有关详细信息,请参见《最终用户许可协议》(EULA)中的第2.9.3节。
安全结账方式:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
许可证类型
文件大小
361.7 KB
最新版本
2.1.1
最新发布日期
2025年4月25日
原始 Unity 版本
2021.3.45
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
Unity logo
语言
反馈
合作伙伴计划
合作伙伴
USD
EUR
Copyright © 2025 Unity Technologies
所有价格不包含税
USD
EUR
$15