Enterprise Apps: Education App Part 3

Objective: Image Targeting and UI

To get started you need an image to use as a target. I’ve put some boxes and lines together to give the above image and printed it out.

Create an Image Target and assign the image in the inspector.

To test, I’ve put some shapes together for a UFO and made them child objects of the image target.

Im using a USB webcam to allow moving of the camera while testing. If the test now in Play mode we get the following result.

I rotated the UFO for a side shot with the Camera set in position and the paper moving.

Next let’s try a model of a horse.

Next we rotate the horse to place it sideways on the image target and in scale that the full horse shot is in view.

Now that the Image Targeting and model are working, we can set up the UI. Add an image canvas, set the UI Scale Mode to with screen size and set the reference resolution to 1080p. We then add two buttons, one for next, the other for previous and set them in the bottom corner.





Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Things Loving People have in Common #Gentlecurrentstherapy #Langley #counseling

Let’s catch up — and answer your questions today

Let's catch up - and answer your questions today

Dating Advice For Men Over 40

Just Put Salt in Your Shampoo Before Showering

It’s A Scary World Out There

Happy Thanks Give-Away!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Simon Leen

Simon Leen


More from Medium

Unity camera plugin save image data as bytes

My journey becoming a Unity game developer: Make a game look beautiful-Creating Ceilings pt.3

Creating A Retro Game Over Behavior

Daily Progression: Create A Menu Screen!