Welcome to part 6 of the Making a Simple Game in Unity tutorial series. If you want to check out the rest of the videos please click on the next link. It will take you to the Playlist.
https://www.youtube.com/watch?v=-kczK...
In part 6 of this tutorial, we will continue polishing our surprise box prefab. We will lear new tricks like modifying the iTween parameters to better suit our movement needs, work with arrays of Game Objects to store multiple variables and use them anytime we need them and even spawn them randomly from the array and into our game scene.
If any of this sounds interesting to you, please jump in and enjoy the next video.
Remember that you can download the assets for this project completely free from the unity asset store. Ill leave the link here at the bottom of the description as well as interesting links related to this video such as iTween documentation and Unity Scripting.
Thanks again for watching, remember to leave any comments, questions or suggestions on the comments section and if you like the video please give it a thumbs up. It would greatly help me keep making this videos.
Kind regards.
The Simple Game Dev
-----------------------------------------------------------------------------------------------------
VIDEO CONTENTS:
0:55 Fixing the iTween Motion
5:05 Animating the box
9:10 Spawning the item inside the box
16:34 Making the spawned item random
-----------------------------------------------------------------------------------------------------
LINKS:
Unity Tutorial Package
https://www.assetstore.unity3d.com/en...
iTween Documentation
http://itween.pixelplacement.com/docu...
Unity Script Reference (Instantiate)
http://docs.unity3d.com/ScriptReferen...
Unity Script Reference (Random Range)
http://docs.unity3d.com/ScriptReferen...