public override void OnEnter() { manager m = GameObject.FindGameObjectWithTag("manager").GetComponent <manager>(); StartCoroutine(m.Strobe(1, time)); Continue(); }