Does "public event Action" supports in VisionOS simulator?

In my code , I am using public event Action Demo; to enable certain functionalities depending on Action event. But it didnot work in Simulator . Is it supported ?

C# events should work. It’s likely that the thing triggering the event isn’t hooked up or isn’t happening in your simulator build. What exactly are you trying to do here?