I have one script with the following delegate below, which is fired when the URL of the website displayed in my application has been changed either by user input or due to a page redirect:
public delegate void URLChangedDelegate (UWKWebView view, string url);
In a second script, what I would like to do is set a conditional so that I can check “if” the changed URL is a specific value and if so then load a new scene. I’m not quite sure how to do this as I have little experience with delegates. I have watched the official tutorials but they do not seem to cover this specific case. I would appreciate some advice please.