GridVids
Sign in with YouTube

Building a Clean Targeting Framework for Abilities in Unity

git-amend Sep 28, 2025 13:00
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Don't Miss
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Mark watched
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Hide
Open in popup Open on YouTube
Share video

Share video

Copy the GridVids link or iframe code.

Video link
Iframe code
Iframe content

Chapters
Targeting Abilities in Unity can be tricky, but in this video we build a clean and flexible system that makes it easy to handle different ability types. We start with a base targeting strategy, then create concrete examples like self-targeting for buffs, area-of-effect targeting with a preview, and projectile-based targeting that finds enemies on impact. All of these strategies plug into the same manager on the player, making the system modular, reusable, and simple to extend for future abilities. By the end, you’ll have a solid framework for smarter targeting in your Unity projects. Want to support me? 😀 Buy me a coffee! https://ko-fi.com/adammyhre 🔔 Subscribe for more Unity Tutorials https://youtube.com/@git-amend Discord: https://discord.gg/FDRZGQBBUC #unity3d #gamedev #indiedev ▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬ *Source code:* https://gist.github.com/adammyhre/3cee767f20a85a8ea67222d3534d9c9e More Useful Code: https://github.com/adammyhre?tab=repositories Unity Utility Library: https://github.com/adammyhre/Unity-Utils Lock Inspector Hotkey: https://gist.github.com/adammyhre/4754f731a93bf1cab0d1385ccfa23642 *Other Recommended Tools* _(Affiliate Links)_ Magic Circles - https://assetstore.unity.com/packages/vfx/particles/magic-circle-skills-231017?aid=1101lw3sv Cartoon VFX - https://assetstore.unity.com/publishers/1669?aid=1101lw3sv Scene Notes - https://assetstore.unity.com/publishers/87819?aid=1101lw3sv Beautify - https://assetstore.unity.com/packages/vfx/shaders/fullscreen-camera-effects/beautify-3-advanced-post-processing-233073?aid=1101lw3sv Wingman - https://assetstore.unity.com/packages/tools/utilities/wingman-your-inspector-s-best-friend-303181?aid=1101lw3sv Favorites Window - https://assetstore.unity.com/packages/tools/utilities/favorites-window-123487?aid=1101lw3sv Logwin - https://assetstore.unity.com/packages/tools/utilities/logwin-log-debug-values-tracker-149558?aid=1101lw3sv TimeScale Toolbar - https://assetstore.unity.com/packages/tools/utilities/timescale-toolbar-291564?aid=1101lw3sv Odin - https://assetstore.unity.com/packages/tools/utilities/odin-inspector-and-serializer-89041?aid=1101lw3sv?aid=1101lw3sv Odin Validator - https://assetstore.unity.com/packages/tools/utilities/odin-validator-227861?aid=1101lw3sv Hot Reload: https://assetstore.unity.com/packages/tools/utilities/hot-reload-edit-code-without-compiling-254358?aid=1101lw3sv Better Hierarchy: https://assetstore.unity.com/packages/tools/utilities/better-hierarchy-272963?aid=1101lw3sv Better Transform: https://assetstore.unity.com/packages/tools/utilities/better-transform-size-notes-global-local-workspace-child-parent--276554?aid=1101lw3sv Better Mesh Filter: https://assetstore.unity.com/packages/tools/utilities/better-mesh-filter-266489?aid=1101lw3sv Editor Console Pro: https://assetstore.unity.com/packages/tools/utilities/editor-console-pro-11889?aid=1101lw3sv Any Object Finder: https://assetstore.unity.com/packages/tools/utilities/any-object-finder-286455?aid=1101lw3sv Kybernetic Tools: https://assetstore.unity.com/publishers/16747?aid=1101lw3sv Sisus Tools: https://assetstore.unity.com/publishers/41398?aid=1101lw3sv Prime Tween - https://assetstore.unity.com/packages/tools/animation/primetween-high-performance-animations-and-sequences-2529607?aid=1101lw3s Rabbit Logger - https://assetstore.unity.com/packages/tools/utilities/rabbit-logger-305396?aid=1101lw3s *Follow me!* https://linktr.ee/gitamend
Gaming
#unity tutorial #unity arcade game #unity game tutorial #unity #game development #game dev #game development unity #programming #c# #software development #learn to code #learn programming #unity tutorials #unity devlog #indiedev #gamedev #unity3d #advanced unity #unity targeting