摘要:
目标 学习字典类的定义及其语法,借此改进对象池,把它从“只能装一种对象”的单一对象池改进为“能装多种对象”的多对象池。 Dictionary是什么 字典类Dictionary是键值对(即一个键与一个值相对应)的集合。 试水字典类的语法 using System.Collections; using 阅读全文
摘要:
目标 了解并能够应用某些方法来旋转物体。 API对Quaternion的(部分)说明 Quaternion Description 描述 Quaternions are used to represent rotations. 四元数用于表示旋转。 They are compact, don't s 阅读全文
摘要:
目标 理解协程的工作机制并掌握它的使用方法。 基于API理解协程 API对协程Coroutine的解释 Coroutine A coroutine is a function that can suspend its execution (yield) until the given YieldIn 阅读全文