I've overriden the rightMouseDown(with event:) function, but nothing, even a simple print(), will happen? Is there anything more I need to do? The mouseDown() func work properly though...
Any clue?
I've overriden the rightMouseDown(with event:) function, but nothing, even a simple print(), will happen? Is there anything more I need to do? The mouseDown() func work properly though...
Any clue?
Copyright © 2021 Jogjafile Inc.
SOLVED!
Since the right click is reserved by default for the popup menu, you need to add an extension that will override rightMouseDown() and redirect the event to your scene's event.
Here is the solution I found on another thread and that works (Swift 3)