void Start() { Listen listen = new Listen(); Debug.Log("i was started"); listen.Register(); //EventName += listen.OnEvent; OnEventName(); StartCoroutine(Loop()); }
void Start() { Listen listen = new Listen(); Debug.Log("i was started"); listen.Register(); //EventName += listen.OnEvent; OnEventName(); StartCoroutine(Loop()); }