Untitled

 avatar
unknown
plain_text
a year ago
280 B
13
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