Skip to content
You are not logged in |Login  
     
Limit search to available items
Record 30 of 45
Previous Record Next Record
Book Cover
Bestseller
BestsellerE-Book
Author Norton, Terry (Computer programmer)

Title Learning C♯ by developing games with Unity 3D beginner's guide : learn the fundamentals of C♯ to create scripts for your GameObjects / Terry Norton.

Publication Info. Birmingham : Packt Publishing, [2013]
©2013

Copies

Location Call No. Status
 Rocky Hill - Downloadable Materials  EBSCO Ebook    Downloadable
Rocky Hill cardholders click here to access this title from EBSCO
Description 1 online resource (292 pages) : illustrations
Note Includes index.
Contents Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Discovering Your Hidden Scripting Skills; Prerequisite knowledge for using this book; Dealing with scriptphobia; Teaching behaviors to GameObjects; Choosing to use C♯ instead of UnityScript; Reason 1 for choosing C♯ -- vast amount of documentation on the Internet; Reason 2 for choosing C♯ -- flexibility to use Unity scripts and regular C♯ code files; 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 ComponentTime for action -- opening the scripting reference documentation for the transform component; Are we really supposed to know all that stuff?; What is all that information?; Working with C♯ script files; Time for action -- create a C♯ script file; Introducing the MonoDevelop code editor; Syncing C♯ files between MonoDevelop and Unity; Time for action -- opening LearningScript in MonoDevelop; Watching for a possible ""gotcha"" when creating script files in Unity; Fixing sync if it isn't working properly.
Summary Chapter 2: Introducing the Building Blocks for Unity Scripts; Using the term method instead of function; Understanding what a variable does in a script; Naming a variable; A variable name is just a substitute for a value; Time for action - creating a variable and seeing how it works; Time for action - changing the number 9 to a different number; Using a method in a script; What is a method?; Time for action - learning how a method works; What's in this script file?; Method names are substitutes too; Introducing the class; By using a little Unity magic, a script becomes a Component.
Contents A more technical look at the magicEven more Unity magic; Components communicating using the Dot Syntax; What's with the dots?; Summary; Chapter 3: Getting into the Details of Variables; Writing C♯ statements properly; Understanding Component properties in Unity's Inspector; Variables become Component properties; Unity changes script and variable names slightly; Changing a property's value in the Inspector panel; Displaying public variables in the Inspector panel; Time for action -- making a variable private; Naming your variables properly; Begin variable names with lowercase.
Using multi-word variable namesDeclaring a variable and its type; The most common built-in variable types; Time for action -- assigning values while declaring the variable; Where you declare a variable is important; Variable scope -- determining where a variable can be used; Summary; Chapter 4: Getting into the Details of Methods; Ending a method definition using curly braces; Using methods in a script; Naming methods properly; Begin method names with an uppercase letter; Using multi-word names for a method; Parentheses are part of the method name; Defining a method properly.
Note The minimum requirements for defining a method.
Summary This book uses the learning-by-example approach. It takes simple examples from games to introduce all the main concepts of programming in an easy-to-digest and immediately recognizable way. This book is for the total beginner to any type of programming, focusing on the writing of C♯ code and scripts only. There are many parts that make up the Unity game engine. It is assumed that the reader already knows their way around Unity's user interface. The code editor used in this book is the MonoDevelop editor supplied by Unity.
Note Print version record.
Bibliography Includes bibliographical references and index.
Subject Unity (Electronic resource)
Unity (Electronic resource)
Unity (Electronic resource) (OCoLC)fst01795070
Unity (Electronic resource)
Video games -- Programming.
C# (Computer program language)
Three-dimensional display systems.
Video games -- Design.
COMPUTERS -- General.
C♯ (Computer program language) (OCoLC)fst00843284
Computer games -- Programming. (OCoLC)fst00872114
Computer games / Programming.
C♯ (Computer program language)
Other Form: Print version: Norton, Terry. Learning C♯ by Developing Games with Unity 3D. Birmingham : Packt Publishing, 2013 9781849696586
ISBN 9781849696593 (electronic bk.)
1849696594 (electronic bk.)
-->
Add a Review