21 lines
613 B
C#
21 lines
613 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Template_RuntimeInstance
|
|
{
|
|
[CreateAssetMenu(fileName = "New Projectile Ability", menuName = "RiftMayhem/Abilities/Projectile Ability")]
|
|
public class ProjectileAbilityTemplate : BaseAbility
|
|
{
|
|
public GameObject projectilePrefab;
|
|
public float projectileSpeed;
|
|
public float lifeSpan;
|
|
public bool canPierce;
|
|
public bool canHitSelf;
|
|
|
|
public override IAbilityProperties CreateProperties()
|
|
{
|
|
return new ProjectileAbilityProperties();
|
|
}
|
|
}
|
|
} |