Throwing the ball
We now have a great-looking ice ball just in front of our walking monster. Time to get that ball in motion using the following steps to add the objects and scripts:
- Drag the
DualTouchControls
prefab from theAssets/Standard Assets/CrossPlatformInput/Prefabs
folder in the Project window to the Hierarchy window. - Rename the
DualTouchControls
object toCatch_UI
in the Inspector window. - Expand the new
Catch_UI
object and delete theTurnAndLookTouchpad
and theJump
objects. When prompted to break the prefab, click on continue. - Expand the
MoveTouchpad
object and delete theText
object by selecting it and pressing delete. - Select the
MoveTouchpad
object and rename itThrowTouchpad
in the Inspector window. - Open the Anchor Presets in the Rect ...
Get Augmented Reality Game Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.