Tutorial 2

Tutorial 2- Spark AR

Intro

Main Content

To setup the navigation
1) Add a canvas by right clicking on scene panel on the left
2)Add a new layer to the canvas and make sure the new layer is on the top....You can see the layers just adjacent to scene tab
3)Add a rectangle by right clicking on the canvas....make sure the rectangle is on the same layer as canvas....this will be used as a temporary button to toggle the map until the native ui picker is hooked properly....rename it accordingly......move the rectangle to top right of the screen. Create a new material in the assets panel and name it map_icon....use the map_icon image as the texture of the image....Apply the material to the texture
4)Add another rectangle by right clicking on the canvas....make sure the rectangle is on the same layer as canvas....this will be used as map....rename it "map" .create and add material in the same way as before....Scale this by 3 on all axes by filling the values in properties panel.
5)Add another rectangle by right clicking on the MAP RECTANGLE created in step 4...this will make this new rectangle as a child of map rectangle...this will be used as pointer for navigation....create and add material to this.....Scale this to 0.2 on all axes

Short Summary

Adding rectangles,setting materials, setting layers

Resources

Images needed for materials

Fun Points

Show them what happens if you do not change the layer


Comments

Popular posts from this blog

Tutorial 4

Tutorial 3

Tutorial 6