Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Unity for Architectural Visualization

You're reading from  Unity for Architectural Visualization

Product type Book
Published in Sep 2013
Publisher Packt
ISBN-13 9781783559060
Pages 144 pages
Edition 1st Edition
Languages
Author (1):
Stefan Boeykens Stefan Boeykens
Profile icon Stefan Boeykens

Summary


Scripting is a necessary evil when you need to go beyond the included assets installed with Unity. It might be beneficial to look around the Asset Store to add other tools and scripts to your arsenal, but a decent understanding of scripts is a valuable competence to gain in the long run.

Always strive for short, simple, understandable, and reusable scripts. If you need two unrelated behaviors, they might be better off being split into two scripts. To make scripts reusable for different contexts, give them a rather generic name. RotateObject is more versatile than RotateDoor. If variables need to be adjusted, provide them as public variables, so they become parameters of the scripts. Reusable scripts never need to be edited during usage, but mainly tweaked by their parameters.

Add easing and tweening to improve smoothness and to obtain a visual, modern animation style. If you are pressed in time, you might cut some corners here, but they do provide an overall professional feel to your...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $19.99/month. Cancel anytime}