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 targets) { spawnedChainReaction = Instantiate(abilityPrefabName, this.transform.position, Quaternion.identity); } }