21 lines
591 B
C#
21 lines
591 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Template_RuntimeInstance
|
|
{
|
|
[CreateAssetMenu(fileName = "New Channeled Ability", menuName = "RiftMayhem/Abilities/Channeled Ability")]
|
|
public class ChanneledAbilityTemplate : BaseAbility
|
|
{
|
|
public GameObject prefab;
|
|
public float duration;
|
|
public float radius;
|
|
public bool canHitSelf;
|
|
public bool followUser;
|
|
|
|
public override IAbilityProperties CreateProperties()
|
|
{
|
|
return new ChanneledAbilityProperties();
|
|
}
|
|
}
|
|
} |