wiki.sine.space | sinespace

Difference between revisions of "Components/ClickableWebsite"

From wiki.sine.space
Jump to: navigation, search
(Created page with "This component will open a browser window to the web page you indicate when the user clicks it. 1 - Create a game object either using the Unity basic objects or in your 3D mo...")
 
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Template:Infobox
 +
|above=ClickableWebsite
 +
|subheader=Component
 +
|image=[[File:WebsiteURLComp.JPG|300px]]
 +
|caption=Component's Inspector
 +
| label1 = URL
 +
|  data1 = URL of the website
 +
}}
 +
 +
 
This component will open a browser window to the web page you indicate when the user clicks it.
 
This component will open a browser window to the web page you indicate when the user clicks it.
  
1 - Create a game object either using the Unity basic objects or in your 3D modeling program (Poster, Mailbox etc.)  
+
Create a game object either using the Unity basic objects or in your 3D modeling program (Poster, Mailbox etc.)  
 +
 
 +
Be sure the item has a collider on it.
 +
 
 +
In Unity Inspector click on the Add Component button, find Clickable Website and add it.
  
2 - In Unity Inspector click on the Add Component button, find Clickable Website and add it.
+
In the Inspector in the URL field type in the full website address which you want the users to visit.
  
3 - In the Inspector in the URL field type in the website address including the http: (Example: http://sinewave.space.com)
+
{{Component Navbox}}

Latest revision as of 11:20, 23 September 2016


ClickableWebsite
Component
WebsiteURLComp.JPG

Component's Inspector

URL URL of the website


This component will open a browser window to the web page you indicate when the user clicks it.

Create a game object either using the Unity basic objects or in your 3D modeling program (Poster, Mailbox etc.)

Be sure the item has a collider on it.

In Unity Inspector click on the Add Component button, find Clickable Website and add it.

In the Inspector in the URL field type in the full website address which you want the users to visit.