-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
sajad0131 edited this page Aug 7, 2025
·
1 revision
This guide will walk you through the basic setup of UGAS in your project.
- Download the latest
UGAS by Sajad Amiri.unitypackage
from the Releases page. - Open your Unity project.
- Go to
Assets > Import Package > Custom Package...
and select the downloaded file.
- Create a GameObject for your player.
- Add the following components to it:
AttributeSet
GameplayEffectRunner
AbilitySystem
TagSystem
- Create your
AttributeDefinition
assets (e.g., "Health," "Mana"). - On the
AttributeSet
component, add your attributes to theInitial Attributes
list.
- Create a
GameplayEffect
for what the ability will do (e.g., anInstantModifierEffect
for damage). - Create an
AbilityDefinition
and configure it. - Add the
GameplayEffect
to the ability'sEffects
list. - Add the
AbilityDefinition
to theInitial Abilities
list on your character'sAbilitySystem
component.
Use a script to call TryActivateAbility
on the AbilitySystem
.
public AbilitySystem abilitySystem;
public AbilityDefinition myAbility;
void Activate()
{
abilitySystem.TryActivateAbility(myAbility);
}