RiftMayhem/Assets/Scripts/Networking/NetworkAbilityChainReaction.cs
2025-02-21 18:35:51 +00:00

16 lines
475 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NetworkAbilityChainReaction : MonoBehaviour
{
public BaseAbility ability;
public GameObject abilityPrefabName;
protected GameObject spawnedChainReaction;
public virtual void ExecuteAbilityChainReaction(Taggable owner, List<Taggable> targets)
{
spawnedChainReaction = Instantiate(abilityPrefabName, this.transform.position, Quaternion.identity);
}
}