Gita Assets
Unity / Plugin

Unity SPAM Spell Projectile Ability Magic Framework 3.0.0 | SPAM - Spell, Projectile, Ability, Magic Framework

Overview

SPAM is a high performance ability- and projectile framework that saves you time by handling the "how" of your abilities and projectiles so you can focus on the "what" of your game.
Addons & integrations
Ability UI - UI Toolkit
What's And How's?
How do I spawn a projectile and make it move towards a given target?
How do I make this spell damage the enemy?
How do I pool projectiles and VFX to make my game more performant?
How do I add cooldowns, animations and sounds to abilities?
How do I make an ability only affect targets that are stunned?
How do I apply and trigger damage/healing over time?
How can I make my lightning spells do extra damage when it rains?
How do I setup different ability levels, so they can grow stronger when my character levels up?
How can I let the player upgrade abilities so they change behaviour and/or become stronger?
All of these technical details and more are solved for you. This saves you time by allowing you to focus on what you game should be instead of how you implement and optimize abilities and projectiles.
SPAM supplies the logic for spawning, moving, and pooling all your abilities, projectile and VFX so you can focus on the what's of your game:
What happens when a target takes damage?
What happens when I kill an enemy?
What happens when I stun a character?
SPAM is also easy to integrate with any current systems you have as the code is interface-based and works in an "opt-in" fashion.

Key features

Features
Abilitities and projectiles system:
Projectile abilities such as bullets, rockets, and fireball...
Targeted abilities such as heal, shield, lightning strike...
Directional abilities such as shotgun, ground-slam, fire-breath...
Raycast abilities (beams, gunshots...)
Ability ranks. Make your abilities stronger (or why not weaker?) when your character levels up or gets an upgrade.
Arched projectile movement, customisable with animation curves for easy editing.
Easily add variation to projectile abilities by setting min/max values for arched movement, speed, and spawn time. SPAM will use a random value in this range every cast.
Multiple projectiles per cast.
Zero garbage after initialization.
Area of effect and inter-area line-of-sight check (don't want to get hit through a wall, do you?)
Wedge and circle telegraph/indicator with in-editor previews.
Automatic and configurable pooling of VFX and projectiles.
Event-driven for loose coupling (optional, can be toggled off)
Clean code interface: Just call Ability.Cast(direction) or Ability.Cast(target).
In-editor documentation and validation.
Easy to use custom editors and windows. Add an ability to a character with just the click of a button!
Conditions system:
Apply status effects such as stun, burn, shield.
Apply and damage & healing over time.
Pre-conditions: Only apply effects when target has a certain condition (if wet add frozen. If target is undead apply extra damage).
Emergent gameplay: Let the world add and remove conditions to targets and characters and design how your abilities behave under different circumstances.
Apply buffs/debuffs from abilities, world, equipment.
Additional features:
Simple procedual shatter component: Shatter any mesh procedually!
Force shield shader.
Mask cutout shader (used for indicators / telegraphs).
Example UI-prefabs for cast time and ability slot with cooldown indicator.
Indicators / telegraphs can be set to show "time to cast", filling them up during the ability's cast time.
Extendable & Pluggable
SPAM is built to be extendable and you can easily add effects that aren't supplied in the base framework. Derive your custom effect from the effect base class and the framework will automatically pick it up and let you add the effect to your abilities.
Effects are applied by checking for an interface at their target, so you can easily use this framework side-by-side of your existing solution. All you have to do is to make sure the target has a component that implements the given interface the effect is trying to apply and you're good to go.
Examples of some built-in effects:
Damage
Heal
Add explosion force
Pull towards
Shield
Teleport
Stun
Shatter (procedual shatter behaviour supplied)
Buff/Debuff
Add/Remove condition
High Performance & Zero Garbage Policy
The framework is meant to be highly performant and optimized so you can focus on your game instead of digging through the profiler. The only garbage allowed from the framework is during startup and initialization. This means that as soon as your ability is ready it's garbage free to cast (spam) again and again and again.
All components turn themselves off/on depending on their internal state so there's no unnessecary update loops running during gameplay.

Included content

Addons: Ability UI - UI Toolkit
Procedual shatter component
Force shield shader
Mask cutout shader
Example UI-prefabs for cast time and ability slot with cooldown indicator

Compatibility

The version sold on this site is 4.0.0, the same as the latest version currently on the official site.
Official compatibility matrix (version 2021.3.45f2): Built-in supported, URP supported, HDRP supported.
The current official documentation applies to engine versions 2021.3.45 and 2021.3.45f2.
Official support for Editor 2020.3 was dropped in 4.0.0.
Demo game is made with Universal RP. Sample settings are included.
Actual support is based on the version sold on this site, 4.0.0.

Render pipeline compatibility

UnityBuilt-inURPHDRP
2021.3.45f2

Technical specifications

Original creator
Infinite Void
Current official version
4.0.0
Supported engines
2021.3.45, 2021.3.45f2
Render pipelines
2021.3.45f2 · Built-in / HDRP / URP
Official file size
3.80 MB
Official update date
2025-12-30
Asset file count
566
Package format
unitypackage
First official release
2022-08-02

Tags

Full description

Addons & integrations Ability UI - UI Toolkit

What's And How's? How do I spawn a projectile and make it move towards a given target? How do I make this spell damage the enemy? How do I pool projectiles and VFX to make my game more performant? How do I add cooldowns, animations and sounds to abilities? How do I make an ability only affect targets that are stunned? How do I apply and trigger damage/healing over time? How can I make my lightning spells do extra damage when it rains? How do I setup different ability levels, so they can grow stronger when my character levels up? How can I let the player upgrade abilities so they change behaviour and/or become stronger?

All of these technical details and more are solved for you. This saves you time by allowing you to focus on what you game should be instead of how you implement and optimize abilities and projectiles. SPAM supplies the logic for spawning, moving, and pooling all your abilities, projectile and VFX so you can focus on the what's of your game: What happens when a target takes damage? What happens when I kill an enemy? What happens when I stun a character?

SPAM is also easy to integrate with any current systems you have as the code is interface-based and works in an "opt-in" fashion. Features Abilitities and projectiles system: Projectile abilities such as bullets, rockets, and fireball... Targeted abilities such as heal, shield, lightning strike... Directional abilities such as shotgun, ground-slam, fire-breath... Raycast abilities (beams, gunshots...) Ability ranks. Make your abilities stronger (or why not weaker?) when your character levels up or gets an upgrade. Arched projectile movement, customisable with animation curves for easy editing. Easily add variation to projectile abilities by setting min/max values for arched movement, speed, and spawn time. SPAM will use a random value in this range every cast. Multiple projectiles per cast. Zero garbage after initialization. Area of effect and inter-area line-of-sight check (don't want to get hit through a wall, do you?) Wedge and circle telegraph/indicator with in-editor previews. Automatic and configurable pooling of VFX and projectiles. Event-driven for loose coupling (optional, can be toggled off) Clean code interface: Just call Ability.Cast(direction) or Ability.Cast(target). In-editor documentation and validation. Easy to use custom editors and windows. Add an ability to a character with just the click of a button!

Conditions system: Apply status effects such as stun, burn, shield. Apply and damage & healing over time. Pre-conditions: Only apply effects when target has a certain condition (if wet add frozen. If target is undead apply extra damage). Emergent gameplay: Let the world add and remove conditions to targets and characters and design how your abilities behave under different circumstances. Apply buffs/debuffs from abilities, world, equipment.

Additional features: Simple procedual shatter component: Shatter any mesh procedually! Force shield shader. Mask cutout shader (used for indicators / telegraphs). Example UI-prefabs for cast time and ability slot with cooldown indicator. Indicators / telegraphs can be set to show "time to cast", filling them up during the ability's cast time.

Extendable & Pluggable SPAM is built to be extendable and you can easily add effects that aren't supplied in the base framework. Derive your custom effect from the effect base class and the framework will automatically pick it up and let you add the effect to your abilities. Effects are applied by checking for an interface at their target, so you can easily use this framework side-by-side of your existing solution. All you have to do is to make sure the target has a component that implements the given interface the effect is trying to apply and you're good to go. Examples of some built-in effects: Damage Heal Add explosion force Pull towards Shield Teleport Stun Shatter (procedual shatter behaviour supplied) Buff/Debuff Add/Remove condition

High Performance & Zero Garbage Policy The framework is meant to be highly performant and optimized so you can focus on your game instead of digging through the profiler. The only garbage allowed from the framework is during startup and initialization. This means that as soon as your ability is ready it's garbage free to cast (spam) again and again and again. All components turn themselves off/on depending on their internal state so there's no unnessecary update loops running during gameplay. Planned features These features are not yet in the framework but will be added as they're ready. If you've purchased the asset these features (and possibly other not mentioned here) will come as a free update. Channeled abilities (meteor shower, circle of healing...) Delayed trigger abilities (click to cast in direction or at position, click again to trigger). Advanced area of effect features like multiple smaller strikes in a bigger area like lightning storm or artillery rain. Multiplayer support Modding/Serialization

Note that this list is subject to change, and some might incur breaking changes to the frameworks API. If this is the case it will be detailed in the releasenotes and by a major version bump.

Demo game is made with Universal RP. Sample settings are included.

Ratings and reviews

You can rate and review this item after purchase.

No buyer reviews yet.

Unity SPAM Spell Projectile Ability Magic Framework 3.0.0 | SPAM - Spell, Projectile, Ability, Magic Framework · Unity Plugin · Preview 3Unity SPAM Spell Projectile Ability Magic Framework 3.0.0 | SPAM - Spell, Projectile, Ability, Magic Framework · Unity Plugin · Preview 4Unity SPAM Spell Projectile Ability Magic Framework 3.0.0 | SPAM - Spell, Projectile, Ability, Magic Framework · Unity Plugin · Preview 5Unity SPAM Spell Projectile Ability Magic Framework 3.0.0 | SPAM - Spell, Projectile, Ability, Magic Framework · Unity Plugin · Preview 6Unity SPAM Spell Projectile Ability Magic Framework 3.0.0 | SPAM - Spell, Projectile, Ability, Magic Framework · Unity Plugin · Preview 7Unity SPAM Spell Projectile Ability Magic Framework 3.0.0 | SPAM - Spell, Projectile, Ability, Magic Framework · Unity Plugin · Preview 8Unity SPAM Spell Projectile Ability Magic Framework 3.0.0 | SPAM - Spell, Projectile, Ability, Magic Framework · Unity Plugin · Preview 9
Contact support