public static SceneValidator createComponentValidator <A>( this RuntimeSceneRefWithComponent <A> sceneRef ) where A : Component => SceneValidator_.validateForComponent <A>();
public static WithSceneValidator <ScenePath> toSceneNameAndValidator <A>( this RuntimeSceneRefWithComponent <A> sceneRef ) where A : Component => WithSceneValidator.a(sceneRef.scenePath, sceneRef.createComponentValidator());
public static B withSceneObject <A, B>( this RuntimeSceneRefWithComponent <A> sceneRef, Fn <A, B> f ) where A : Component => withScene(sceneRef.scenePath, scene => f(scene.findComponentOnRootGameObjects <A>().rightOrThrow));