Overview
OmniTarget is a modular gameplay targeting framework for Unity, designed to handle target selection logic in a clean, reusable, and extensible way.
Instead of rewriting targeting code for every spell, ability, interaction, or mechanic, OmniTarget allows you to define targeting behavior through configuration and respond to selection events in your own gameplay code.
OmniTarget handles how targets are selected.
You decide what happens to them.
Use Cases
OmniTarget can be used for a wide range of gameplay systems, including:
The framework is gameplay-agnostic and supports both real-time and turn-based designs.
Core Concept
Targeting behavior in OmniTarget is defined using a modular configuration asset that specifies all selection parameters, such as:
Based on this configuration, OmniTarget automatically sets up the full selection process, manages its lifecycle, and loads or unloads required assets as needed.
Selection Lifecycle & Gameplay Feedback
OmniTarget exposes the complete selection lifecycle through C# interfaces, allowing you to respond to each stage of the process, including:
This enables you to:
Modular & Extensible Architecture
Each major aspect of targeting is implemented as a separate, replaceable module and assigned via configuration:
All systems are built using interfaces and overridable methods, allowing you to extend or replace functionality without modifying core framework code.
Input-Agnostic Design
OmniTarget does not depend on a specific input solution.
You can use:
This makes the framework suitable for keyboard, mouse, gamepad, or hybrid control schemes.
Production-Proven
OmniTarget was developed and battle-tested in a fully featured RPG featuring:
The result is a refined and robust targeting framework built to support polished gameplay systems.
Key Features
Included Demo Scenes
Each demo includes example scripts demonstrating how to respond to selection events and apply gameplay logic.
Out of Scope
OmniTarget focuses exclusively on target selection and selection flow.
The following are intentionally not included:
The framework provides events, interfaces, and example integration code, but final gameplay behavior and advanced visuals are expected to be implemented by the user.
Third Party Asset Notice:
Demo files use kenney animated characters 3 package
Which is released under CC0 1.0 Universal license
https://creativecommons.org/publicdomain/zero/1.0/
Please check A Third-Party Notices.txt for more information.