using Photon.Pun; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; public class NetworkedAreaOfEffectOverTimeWithTickEvent : NetworkedAreaOfEffectOverTime { public UnityEvent> onTickHappened = new UnityEvent>(); protected override void OnTickPerformed() { if (targets.Count > 0) onTickHappened.Invoke(owner, ownerTag, targets); } }