Untitled

Anonymous
plain_text
04/25/2024 7:47 AM
376 B
24
Indexable
public class EnemyMovement : MonoBehaviour
{

    LaneManager Lm;



    void Start()
    {
      
       
        Lm = FindObjectOfType<LaneManager>();
       
        Lm.onEnemyRemoval.AddListener(Function);
    }



void Function()
{

  //does something
}
Editor is loading...
Leave a Comment