private void Awake() { _renderer = GetComponent <SpriteRenderer>(); _collider = GetComponent <Collider2D>(); _event.Register(OnEventRaised); }
void Start() { _event.Register(OnInvisible); }