Hello! Just want to start out by saying this is a fantastic addition to Unity and as a Professor, it’s going to change everything about how I teach Unity. Thank you!
At the moment, I’m working on a basic interface tour where each main window of the interface is highlighted, described and interacted with in a common manner of how it would normally be interacted with. That being said, the current interaction I am attempting to create has the student clicking the top “arm” of the compass gizmo in the Scene View to illustrate top-down view. This will then advance to learning the difference between Orthographic and Perspective views.
I’ve programmed a hacky way to check for this top-down interaction, but it requires me to keep track of the camera used for the Scene View. The issue is that I have to access Camera.current which can return null if the scene view is not active. To bypass this, in a previous step I have the student click in the scene view to set it to active which then sets my Camera variable for use later. This step is then automatically advanced.
It seemed odd to me that this interaction was not innately built into the SceneViewCameraMoved Criterion as well as the checks for Orthographic/Perspective/2D views.
Lastly a small observation; in storing the camera variable, if the user clicks ‘next’ before the auto advance triggers, sometimes the camera variable is not set correctly. (I fixed this by using SceneView.lastActiveSceneView.camera so either way it grabs the correct camera, but I digress)
If possible, it would be nice to add the ability to remove/disable the next button if auto advance is on to allow more control over how the content is progressed through. After the auto advance progresses to the next page, the setting for the auto advance page could then reenable the ability to hit next in case the user wanted to go back to review content without hitting a dead end with the button removed/disabled.
TLDR; more built-in options to the SceneViewCameraMoved Criterion && ability to disable the next button on pages that have Auto Advance enabled