How to add ParticleSystem without entity and without disturbing UI #1428
-
I have some JavaFX buttons in my UI, which are added via |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The particle system has a pane, which acts as the root container. Perhaps you can set its mouse transparency to true? Then in theory all events should go straight to underlying nodes. On another note, Let me know if setting the particle pane mouse transparent helps. |
Beta Was this translation helpful? Give feedback.
The particle system has a pane, which acts as the root container. Perhaps you can set its mouse transparency to true? Then in theory all events should go straight to underlying nodes.
On another note,
getGameScene().addUINode()
is the correct one, avoid usinggetGameScene().getContentRoot()
, which is reserved for system access.Let me know if setting the particle pane mouse transparent helps.