Untitled

 avatar
unknown
plain_text
2 years ago
279 B
52
Indexable
using UnityEngine.Events;


public class LaneManager : MonoBehaviour
{

   public EnemyRemovalEvent onEnemyRemoval;



void update()
{

if(variable == true)
onEnemyRemoval.Invoke();

}

}

public class EnemyRemovalEvent : UnityEvent { }  // Custom event class
Editor is loading...
Leave a Comment