21 lines
597 B
C#
21 lines
597 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Template_RuntimeInstance
|
|
{
|
|
[CreateAssetMenu(fileName = "New AoE Ability", menuName = "RiftMayhem/Abilities/AoE Ability")]
|
|
public class AreaOfEffectAbilityTemplate : BaseAbility
|
|
{
|
|
public GameObject aoePrefab;
|
|
public float radius;
|
|
public float lifeSpan;
|
|
public float telegraphDelay;
|
|
public bool spawnUnderUser;
|
|
|
|
public override IAbilityProperties CreateProperties()
|
|
{
|
|
return new AreaOfEffectAbilityProperties();
|
|
}
|
|
}
|
|
} |