FirstCity
Welcome to First City University College Library iPortal | library@firstcity.edu.my | +603-7735 2088 (Ext. 519)
Amazon cover image
Image from Amazon.com

Learning C# by developing games with Unity 5.x : develop your first interactive 2D platformer game by learning the fundamentals of C# / Greg Lukosek.

By: Material type: TextTextSeries: Community experience distilledPublisher: Birmingham, UK : Packt Publishing, 2016Edition: Second editionDescription: 1 online resource (1 volume) : illustrationsContent type:
  • text
Media type:
  • computer
Carrier type:
  • online resource
ISBN:
  • 9781785287855
  • 1785287850
  • 1785287591
  • 9781785287596
Other title:
  • Learning C Sharp by developing games with Unity 5.x
Subject(s): Genre/Form: Additional physical formats: Erscheint auch als:: Learning c# by developing games with unity 5.xDDC classification:
  • 794.8/1525 23
LOC classification:
  • QA76.76.C672
Online resources:
Contents:
Cover ; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Discovering Your Hidden Scripting Skills and Getting Your Environment Ready; Prerequisite knowledge to use this book; Dealing with scriptphobia; Downloading Unity; Obtaining a free license; Teaching behavior to GameObjects; Using Unity's documentation; Do I need to know all that?; C# documentation -- where to find it? Do I need it at all?; The Unity community -- asking others for help; Working with C# script files; Lots of files can create a mess
Why does my Project tab look different?Creating a C# script file; Introducing the MonoDevelop code editor; Syncing C# files between MonoDevelop and Unity; Opening LearningScript in MonoDevelop; The namespace -- highlighted in blue; The class definition -- highlighted in green; Watching for possible gotchas while creating script files in Unity; Fixing synchronization if it isn't working properly; Adding our script to GameObject; Instance? What is it?; Summary; Chapter 2 : Introducing the Building Blocks for Unity Scripts; Understanding what a variable is and what it does; Naming a variable
A variable name is just a substitute for a valueCreating a variable and seeing how it works; Declaration; Assignment; Click on Play!; Changing variables; Watching for a possible gotcha when using public variables; What is a method?; Using the term ""method"" instead of ""function""; Method names are substitutes, too; Introducing the class; Inheritance; The Start(), Update(), and Awake() methods and the execution order; Components that communicate using dot syntax; What's with the dots?; Making decisions in code; Using the NOT operator to change the condition
Checking many conditions in an if statementUsing else if to make complex decisions; Making decisions based on user input; Paper and pencil are powerful tools; 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; Private variables; Naming your variables properly; Beginning variable names with lowercase
Using multiword variable namesDeclaring a variable and its type; The most common built-in variable types; Assigning values while declaring a 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; Using methods in a script; Naming methods properly; Beginning method names with an uppercase letter; Using multiword names for a method; Parentheses are part of the method's name; Defining a method the right way; The minimum requirements for defining a method
Understanding parentheses -- why are they there?
Star ratings
    Average rating: 0.0 (0 votes)
No physical items for this record

Description based on online resource; title from cover page (Safari, viewed April 15, 2016).

Includes index.

Cover ; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Discovering Your Hidden Scripting Skills and Getting Your Environment Ready; Prerequisite knowledge to use this book; Dealing with scriptphobia; Downloading Unity; Obtaining a free license; Teaching behavior to GameObjects; Using Unity's documentation; Do I need to know all that?; C# documentation -- where to find it? Do I need it at all?; The Unity community -- asking others for help; Working with C# script files; Lots of files can create a mess

Why does my Project tab look different?Creating a C# script file; Introducing the MonoDevelop code editor; Syncing C# files between MonoDevelop and Unity; Opening LearningScript in MonoDevelop; The namespace -- highlighted in blue; The class definition -- highlighted in green; Watching for possible gotchas while creating script files in Unity; Fixing synchronization if it isn't working properly; Adding our script to GameObject; Instance? What is it?; Summary; Chapter 2 : Introducing the Building Blocks for Unity Scripts; Understanding what a variable is and what it does; Naming a variable

A variable name is just a substitute for a valueCreating a variable and seeing how it works; Declaration; Assignment; Click on Play!; Changing variables; Watching for a possible gotcha when using public variables; What is a method?; Using the term ""method"" instead of ""function""; Method names are substitutes, too; Introducing the class; Inheritance; The Start(), Update(), and Awake() methods and the execution order; Components that communicate using dot syntax; What's with the dots?; Making decisions in code; Using the NOT operator to change the condition

Checking many conditions in an if statementUsing else if to make complex decisions; Making decisions based on user input; Paper and pencil are powerful tools; 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; Private variables; Naming your variables properly; Beginning variable names with lowercase

Using multiword variable namesDeclaring a variable and its type; The most common built-in variable types; Assigning values while declaring a 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; Using methods in a script; Naming methods properly; Beginning method names with an uppercase letter; Using multiword names for a method; Parentheses are part of the method's name; Defining a method the right way; The minimum requirements for defining a method

Understanding parentheses -- why are they there?

eBooks on EBSCOhost EBSCO eBook Subscription Academic Collection - Worldwide