在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → Learning C# Programming with Unity 3D 2014.pdf

Learning C# Programming with Unity 3D 2014.pdf

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:120.06M
  • 下载次数:16
  • 浏览次数:111
  • 发布时间:2020-06-20
  • 实例类别:一般编程问题
  • 发 布 人:robot666
  • 文件格式:.pdf
  • 所需积分:2
 

实例介绍

【实例简介】
Learning C# Programming with Unity 3D by Alex Okita Designed to give you enough familiarity in a programming language to be immediately productive, Learning C# Programming with Unity 3D provides the basics of programming and brings you quickly up to speed. Organized into easy-to-follow lessons, the
Learning群 Programming ith Unity 3D Learning群 Programming ith Unity 3D Alex okita (CRC)CRC Press Taylor Francis Group Boca raton London New York CRC Press is an imprint of the Taylor &r Francis Group, an informa business CRC Press Taylor Francis Group 6000 Broken Sound Parkway nw, Suite 300 Boca raton Fl 33487-2742 o 2015 by Taylor Francis Group, LLC CRC Press is an imprint of taylor Francis group an Informa business No claim to original U.S. Government works Version date: 20140707 International Standard Book Number-13: 978-1-4665-8653-6(eBook-PDF This book contains information obtained from authentic and highly regarded sources. Reasonable efforts have been made to publish reliable data and information, but the author and publisher cannot assume responsibility for the validity of all materials or the consequences of their use. The authors and publishers have attempted to trace the copyright holders of all material repro duced in this publication and apologize to copyright holders if permission to publish in this form has not been obtained If any copyright material has not been acknowledged please write and let us know so we may rectify in any future reprint Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced, transmitted, or utilized in any form by any electronic, mechanical, or other means, now known or hereafter invented, including photocopying, microfilming and recording, or in any information storage or retrieval system, without written permission from the publishers For permission to photocopy or use material electronically from this work, please acce yright.com(http://1 right. com/)or contact the Copyright Clearance Center, Inc(CCC), 222 Rosewood Drive, Danvers, MA 01923, 978-750-8400 granted a photocopy license by the CCC, a separate system of payment has been arranged sers For organizations that have been CCC is a not-for-profit organization that provides licenses and registration for a variety of us Trademark Notice: Product or corporate names may be trademarks or registered trademarks, and are used only for identifica- tion and explanation without intent to infringe Visit the taylor francis Web site at http://www.taylorandfrancis.com and the crc Press Web site at http://www.crcpress.com Contents acknowledgments 1. Introduction: What This book is about 1.1 Why read a book: Why This book May or May Not Be for You.…………1l 1. 1.1 Do I Need to Know math? 1.1.2 Programming as a Form of Expression......... 1.1.3 Games as a stage with lights.... 2222 1.2 Personal Information 1.3 A Brief History of Computer Programmin: How Programming came to be……………3 1.3.1 Mechanical Computers.... 1.3.2 Logic… 1.3.3 Computer Science 1.3. 4 Software ······ 1.3.5 Modern Computer Language. 1.3.6 The Future of Computer Languages 1.4C#: A Flexible Programming Language……… 1.4.1 C# Paradigm...... 1. 4.2 Unity 3D: A Brief His of game eng 1. 4.3 Why Use Unity 3D to Learn? 1. 4.4 How Does Unity 3D Use C# 1. 4.4.1 How to Tell Unity 3D What to Do 1.5 What Is Programming?... 1.5.1 What Does C# Look like? 1.5.2 Learning to Copy and Paste 1.6 Compiling: Turning Words into Computer Instruction 677899 1. 7 What Weve Learned 1. 8 Leveling UI 2. Before You Begin............. 2.1 What Will Be covered in This Chapter……… 2. 2 Downloading and Installing: It Is free 2.3 Unity 3D Overview: What We're Looking At 14 2.3.1 The Main Panel .15 2.3.1.1 Toolbar 15 2.31.2 Hierarchy Panel…… 16 2.3.1.3 Scene and Game View 16 2.3.1.4 Inspector Panel..... 17 2.3. 1.5 Project and Console panel 17 2.3.2 Creating a New Project 19 2.3.3 A New Unity 3D Project 20 2.3.3.1 Assets directo 20 2.3.3.2 Library Directory 2 2.3.3.3 Project Settings Directory…… 22 2.3.3 4 Temp directe 22 2.3.4 Summary 23 Contents 2.4 Sample Code 23 2.4.1 Code fragments 23 2.4.2 Are errors bad? 24 2.4.2.1 Compile-Time and Run-Time errors 24 2.4.3 How to Follow Along .25 244 Summary…………… .25 2.5 Working with C#: Game Engines .25 2.5.1 Getting Project Files ..26 2.5.2 Creating and assigning a New c# File: Now It's Your turn .27 2.5.3 Naming Your New file .30 2.5. 4 USing Your New file 2.5.5 Unity 3D Tools 2.5.6 Running Live Code .38 2.5.7 Saving a scene… 2.5.8O1 pening a Scen 2.5.9 Summary… 2.6 What we’ ve learned 40 2.7 Leveling Up 40 3. First Steps 3.1 What Will Be Covered in This Chapter 3.2 Review 444 3.3 Tokens 42 3.3.1 Writing c# 42 3.3.2 Separator Tokens 43 3.3.3 Operator Tokens 44 3.3.4 Other Operator Tokens. 44 3.3.5 Literals 44 3.3.6 Transitive and Non-Transitive operations 44 3.3.7 Putting it all togethe 45 3.3.8 What We've Learned 46 Statements and expressions ∴46 3.4.1 Expressions ∴46 3.4.2 How Code Is executed 47 3.4.3 Thinking in algorithms 47 3.4.3.1 Wash, Rinse, Rel 49 3.4.4 What We've Learned 49 Keywords 49 3.5.1 Clas 50 3.5.2 What We've Learned 3.6 White Space .5 3.6.1 Pick a Flavor 3.6.2 What We've Learned 3.7 Code block 3.7.1 What We've Learned 3. 8 Classes 57 3.8.1Obi 58 3.8.2 What We've Learned 61 3.9 Variable 3.9.1 Identific 62 3.9.2 Data 62 Contents 3.9.3 Declaring a variable 3.9.3.1 A Basic Example.... .64 3.9.4 Dynamic Initialization..... ..65 3.9.5 What Weve Learned ..65 3.10 Variable Names .66 3.10.1 USing Variables in Unity 3D..... 68 3.10.2 Variable Assignment 69 3.10.3 Putting It Together 3.10.4 What We've Learned 73 3.11 Types: A First look…… 74 3.11.1 Value and reference t 74 3.11.2 What Weve Learned 3.12 Strong Typi 3.12.1D 1c Typing 76 3.12.2 What We've Learned 76 3.13 Type Casting, Numbers 77 3.13.1 Explicit versus Implicit Casting..... 78 3.13.1.1 A Basic example…… 78 3.13.2 What We've Learned 80 3.14 Comments 3. 14.1 Line numbers 83 3. 14.2 Code folding 84 3. 14.3 Summary Comments...... 85 3. 14.4 Navigating in Code.... 86 3. 14.5 What We've Learned 87 3.15 Leveling Up: Moving On to Basics 87 4. Basics: The building blocks of Code .89 4.1 What Will Be Covered in This Chapter……………….…….…………………….89 4.2 Review .89 4.3 Building Up a Game Idea: Working with What You Know..….….… 90 4.3.1 Design from Experience…… 90 4.3.1.1 Know Yourself ∴90 4.3.2 Primary activity 4.3. 3 Moment to moment 4.3.4 Actions to functions 4.3.5 Compromise ∴92 4.3.6 Starting with Controls ∴92 4.3.7 What Weve Learned ∴93 4.4 Creating a Class 4.4.1 Class declaration .94 4.4.1.1 A Basic Example…… ∴.95 4.4.1.2 Value and Reference Types 4.4.2 Adding Data Fields 990 4.4.3 Access Modifiers and the Dot operator 4.4.4 Class Scope 4. 4.5 Class members 666899 4.4.6 What We've learned 4.5 Directives 102 4.5.1 Libraries 103 4.5.2 Ambiguous Name Spaces 108 4.5.3 What Weve Learned 108 Contents 4.6 Functions 109 4.6.1 What Are Functions? 109 4.6.2 Unity 3D Entry Points .110 4.6.3 Writing .112 4.6.3.1 A Basic Example.... .112 4.6. 4 More on White Space and tabs 113 4.6.5 What Weve Learned 115 4.7 Order of Operation: What Is Calculated and when 115 4.7.1 Eval g Numb .116 4.7.1.1Math .116 4.7.1.2 Operator Evaluation. .118 4.7.2 What We've learned .120 4.8S A First look 120 4.8.1C 12 4.8.2 Function Scope .124 4.8.3 What We've Learned 126 4.9Th 126 4.9.1 A Basic Example 127 4.9.2 When This Is Necessary…………… 128 4.9.3 Awkward Names 128 4.9.4 What We've Learned 129 4.10 Turning Ideas into Code--Part 1 129 4.10.1 Mouse Input 13 4.10.2 Ameobi 13 4.10.3 What We've Learned 133 4.11 Logic and operators “··“““·““ ∴133 4.11.1 Booleans .134 4.11.2 Equality Operators. .134 4.11. 2.1 A Basic example 135 4.11.3 If and Branching 135 4.11.3.1Not! 137 4.11.4 Flowcharts 137 4.11. 5 Relational Operators 138 4.11.5.1Else. .139 4. 11.5.2 Else If .140 4.11.6 Rearranging logic .140 41161 Flawed logic 4. 11.6.2 Unreachable Code 144 4.11.7 Another Look at Scope 145 4.11. 8 What We've learned 147 4.12 Loops 148 4.12.1 Unary Operators 148 4.12.2 While 149 4.12.3FOr 149 4.12. 4 Do-While 4.12.5 Postfix and Prefix Notation 15 4. 12.6 USing Loops 4.12.7 Loops within Loops 4.128 Runaway Loops… .156 4. 12.9 Breakpoints: A First Look 157 4.12.10 What We've learned 160 【实例截图】
【核心代码】

标签:

实例下载地址

Learning C# Programming with Unity 3D 2014.pdf

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警