immersivecognition / unity-experiment-framework

UXF - Framework for creating human behaviour experiments in Unity
https://immersivecognition.github.io/unity-experiment-framework/
MIT License
221 stars 43 forks source link

Mouse input in scene does not work #169

Open lukreh opened 2 months ago

lukreh commented 2 months ago

When using UXF a bug can occur that causes the mouse input to stop working in the scene window. This can be solved in the ReorderableArrayInspector script, by changing == in line 65 to +=

Script path: UXF\Scripts\Etc\ReorderableInspector\Editor\ReorderableArrayInspector

Line 65: EditorApplication.delayCall == () => { EditorApplication.delayCall = () => { FORCE_INIT = false; }; };

Solution: EditorApplication.delayCall += () => { EditorApplication.delayCall = () => { FORCE_INIT = false; }; };