16 lines
475 B
C#
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);
|
|
}
|
|
}
|