3 options
Mastering Unity scripting : learn advanced C# tips and techniques to make professional-grade games with Unity / Alan Thorn.
- Format:
- Book
- Author/Creator:
- Thorn, Alan, author.
- Series:
- Community experience distilled.
- Community Experience Distilled
- Language:
- English
- Subjects (All):
- Unity (Electronic resource).
- C# (Computer program language).
- C# (Computer program language)--Handbooks, manuals, etc.
- Physical Description:
- 1 online resource (380 p.)
- Edition:
- 1st edition
- Other Title:
- Learn advanced C# tips and techniques to make professional-grade games and Unity
- Learn advanced C Sharp tips and techniques to make professional-grade games and Unity
- Place of Publication:
- Birmingham, England : Packt Publishing, 2015.
- Language Note:
- English
- System Details:
- text file
- Summary:
- Mastering Unity Scripting is an advanced book intended for students, educators, and professionals familiar with the Unity basics as well as the basics of scripting. Whether you've been using Unity for a short time or are an experienced user, this book has something important and valuable to offer to help you improve your game development workflow.
- Contents:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Unity C# Refresher; Why C#?; Creating script files; Instantiating scripts; Variables; Conditional statements; The if statement; The switch statement; Arrays; Loops; The foreach loop; The for loop; The while loop; Infinite loops; Functions; Events; Classes and object-oriented programming; Classes and inheritance; Classes and polymorphism; C# properties; Commenting; Variable visibility; The ? operator; SendMessage and BroadcastMessage; Summary; Chapter 2: Debugging
- Compilation errors and the consoleDebugging with Debug.Log - custom messages; Overriding the ToString method; Visual debugging; Error logging; Editor debugging; Using the profiler; Debugging with MonoDevelop - getting started; Debugging with MonoDevelop - the Watch window; Debugging with MonoDevelop - continue and stepping; Debugging with MonoDevelop - call stack; Debugging with MonoDevelop - the Immediate window; Debugging with MonoDevelop - conditional breakpoints; Debugging with MonoDevelop - tracepoints; Summary; Chapter 3: Singletons, Statics, GameObjects, and the World; The GameObject
- Component interactionsGetComponent; Getting multiple components; Components and messages; GameObjects and the world; Finding GameObjects; Comparing objects; Getting the nearest object; Finding any object of a specified type; Clearing a path between GameObjects; Accessing object hierarchies; The world, time, and updates; Rule #1 - frames are precious; Rule #2 - motion must be relative to time; Immortal objects; Understanding singleton objects and statics; Summary; Chapter 4: Event-driven Programming; Events; Event management; Starting event management with interfaces; Creating an EventManager
- Code folding in MonoDevelop with #region and #endregionUsing EventManager; Alternative with delegates; MonoBehaviour events; Mouse and tap events; Application focus and pausing; Summary; Chapter 5: Cameras, Rendering, and Scenes; Camera gizmos; Being seen; Detecting the object visibility; More on the object visibility; Frustum testing - renderers; Frustum testing - points; Frustum testing - occlusion; Camera vision - front and back; Orthographic cameras; Camera rendering and postprocessing; Camera shake; Cameras and animation; Follow cameras; Cameras and curves; Camera paths - iTween; Summary
- Chapter 6: Working with MonoLists and collections; The List class; The Dictionary class; The Stack class; IEnumerable and IEnumerator; Iterating through enemies with IEnumerator; Strings and regular expressions; Null, empty strings, and white space; String comparison; String formatting; String looping; Creating strings; Searching strings; Regular expressions; Infinite arguments; Language Integrated Query; LINQ and regular expressions; Working with Text Data Assets; Text Assets - static loading; Text Assets - loading from the local files; Text Assets - loading from the INI files
- Text Assets - loading from the CSV files
- Notes:
- Includes index.
- Description based on online resource; title from PDF title page (ebrary, viewed February 9, 2015).
- ISBN:
- 9781784390563
- 1784390569
- OCLC:
- 904154015
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.