文件名称:
Learning C# by Developing Games with Unity 3D.pdf
开发工具:
文件大小: 5mb
下载次数: 0
上传时间: 2019-08-31
详细说明:For the absolute beginner to any concept of programming, writing a script can appear to be an impossible hurdle to overcome. The truth is, there are only three simple concepts to understand: 1) having some type of information; 2) using the information; and 3) communicating the information. Each of these concepts is very simple and extremely important. These three concepts are combined to access the feature set provided by Unity.
Learning C# by Developing Games with Unity 3D Beginner’s Guide – assumes that you know nothing about programming concepts. First you will learn the absolute basics of programming using everyday examples that you already know. As you progress through the book, you will find that C# is not a foreign language after all, because you already know the words. With a few keywords and using substitution, before you know it, you’ll be thinking in code.Learning C# by Developing Games
with Unity 3D Beginner's Guide
Copyright o 2013 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system
or transmitted in any form or by any means without the prior written permission of the
publisher, except in the case of brief quotations embedded in critical articles or reviews
Every effort has been made in the preparation of this book to ensure the accuracy of the
information presented. However the information contained in this book is sold without
warranty, either express or implied. Neither the author nor packt Publishing and its dealers
and distributors will be held liable for any damages caused or alleged to be caused directly or
indirectly by this book
Packt Publishing has endeavored to provide trademark information about all of the
ompanies and products mentioned in this book by the appropriate use of capitals. However
Packt Publishing cannot guarantee the accuracy of this information
First published: September 2013
Production reference:1190913
Published by Packt Publishing Ltd
Livery Place
35 Livery Street
Birmingham B32PB,∪K
SBN9781849696586
www.packtpub.com
CoverImagebyartiengartherngyahoo.com.au)
Credits
Author
Project Coordinator
Terry nort
Apeksha chitnis
Proofreader
Reviewers
Ameesha green
Gaurav garg
Kristian hedeholm
Indexers
Acquisition edito
Rekha nair
Tejal Sc
Lead technical editor
Graphics
Dayan Hya
Ronak dhruv
Technical editors
Production Coordinator
Aditi g
Dylan Fernande
Cover Work
Dipika gaonkar
Aditi Gajjar
Monica john
Proshonjit mitra
About the author
Terry norton was born and raised in California. During the vietnam era, he served six
and half years in the US air Force. While in the military he was trained in electronics for
electronic counter-measures. Upon discharge he earned his electrical engineering degree,
and later working for Joslyn defense Systems in Vermont designing and developing test
equipment for the US Navy
When personal computers came on the scene, he took an interest in building computers, but
never quite delved deep into the programming side. It wasnt until 2004 that programming
peaked his interest. He began writing articles for os/2 Magazine to teach C++ programming
Unfortunately, damaging his left hand in a snowblower accident in 2005 ended his writing for
a couple years
IBM abandoned OS /2, so Terry bought his first apple computer in early 2006. he tried a
few times to learn objective-C, but work and family always seemed to sidetrack his efforts
It wasn t until about 2010 when he discovered unity and the need to write scripts that he
finally made some progress into the programming world. he began writing an online
tutorial for Unity Script titled Unity Script for Noobs. It was a basic tutorial for beginners
made available just before Unite 2011
Since then, Terry has been learning C# for writing scripts for Unity Packt Publishing noticed
Unity Script for Noobs and asked if he would be interested in writing a book about learning
Unity Script He declined he felt that c# was a better language and his heart just wasn't into
UnityScript any longer Two weeks later, Packt offered him the opportunity to write a book
about learning C# for Unity he jumped on it
I want to thank my daughter Emily Norton the artist in the family, for
helping me with the graphic's design
About the reviewers
Gaurav Garg was born in Delhi. He is a Computer Applications graduate from Indira
Gandhi University and has passed his higher secondary from the cbse board. during his
under-graduate studies, he started his career as an indie game programmer but didn 't
gain success because of a lack of or say, no experience. After this, he learnt that passion is
not the only thing for geting success; experience matters a lot. then he joined lsis Design
Service as a game programmer where he published a few ioS titles and one web-based
game. He worked there for a year and a half. then he moved to jump Games Pune and
worked on a few good game titles such as realsteal and dancing with the Stars. Now, he
works for Mr Manvender Shukul in Lakshya Digital Pvt Itd. and has been there since the
past year.
He hasn t reviewed a book before but one of his articles was published in game Coder
Magazine. The article was on Unity 3D. You can download the article from his persona
websitehttp://gauravgarg.com
I would like to thanks my parents who taught me the value of hard work
and an education
I need to thanks my friends particularly manjith and vibhash who al ways
took the time to listen, even when i was just complaining they al ways are
my best supporters and advisors
Finally, I would like to thank Harshit who gives me this opportunity
Kristian Hedeholm studied Computer Science at aarhus University and now works as a
game programmer at Serious Games Interactive in Copenhagen denmark since kristian
oined the game industry back in 2009 he has worked on a couple of released casual games
In addition to this, he is also the chairman of an association called Young Game Developers,
which aims to spread information about game development among children and teenagers
In the future, Kristian will use his "computer mind"to develop artificial intelligence and
dynamic difficulty adjustment systems for computer games
When Kristian isn t developing games teaching others to develop games, or playing games
himself, he thinks a bout them a lot
www.packtpuB.com
Support files, eBooks, discount offers and more
Youmightwanttovisitwww.Packtpub.comforsupportfilesanddownloadsrelatedto
your book.
Did you know that packt offers e book versions of every book published with pdf and epub
filesavailableYoucanupgradetotheebookversionatwww.Packtpub.comandasaprint
book customer, you are entitled to a discount on the e book copy get in touch with us at
servicepacktpub com for more details
Atwww.Packtpub.comyoucanalsoreadacollectionoffreetechnicalarticlessignup
for a range of free newsletters and receive exclusive discounts and offers on Packt books
and ebooks
PIPACKT LiB°
http://packtlib.Packtpub.com
Do you need instant solutions to your iT questions PacktLib is Packt s online digital book
library. Here, you can access, read and search across Packt's entire library of books
Why Subscribe?
Fully searchable across every book published by packt
Copy and paste print and bookmark content
On demand and accessible via web browser
Free Access for packt account holders
Ifyouhaveanaccountwithpacktatwww.Packtpub.comyoucanusethistoaccess
PacktLib today and view nine entirely free books. simply use your login credentials for
immediate access
Table of contents
Preface
Chapter 1: Discovering Your Hidden Scripting Skills
Prerequisite knowledge for using this book
Dealing with scriptphobia
Teaching behaviors to Gameobjects
889
Choosing to use C# instead of Unity Script
10
Reason 1 for choosing c# -vast amount of documentation on the internet
10
Reason 2 for choosing C#-flexibility to use Unity scripts and regular
C+ code files
10
Reason 3 for choosing C#- coding rules are specific
Maneuvering around Unity,s documentation
Time for action - opening the reference Manual documentation
for the transform Component
11
Time for action opening the scripting reference documentation
for the transform component
12
Are we really supposed to know all that stuff?
What is all that information?
13
Working with C# script files
14
Time for action-create a C# script file
14
Introducing the Mona Develop code editor
15
Syncing C# files between Mono Develop and Unity
15
Time for action -opening Learning Script in Mono Develop
15
Watching for a possible gotcha when creating script files in Unity
16
Fixing sync if it isn t working properly
16
Summary
Chapter 2: Introducing the Building blocks for Unity Scripts
19
Using the term method instead of function
20
Understanding what a variable does in a script
20
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.