Forum rules - please read before posting.

Hotspot URL

Apologies

Any idea why this doesn't work?
It opens the URL when i run the scene

Regards
Martyn

Comments

  • You aren't specifying the name of the function to call.

    At the moment, the function name is "Start", which is a Unity standard function that will be run automatically when the scene begins. Rename:

    void Start ()
    

    to:

    public void OpenLink ()
    

    Then, set your Hotspot's "Message to send" field to "OpenLink" (no quotes).

  • Works like a charm.

    Thank you Sir

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.