摘要: activeSelf(read only只读):物体本身的active状态,对应于其在inspector中的checkbox是否被勾选activeInHierarchy(read only只读):物体在层次中是否是active的。也就是说要使这个值为true,这个物体及其所有父物体(及祖先物体)的a... 阅读全文
posted @ 2014-10-14 23:22 灵魂重新 阅读(6799) 评论(0) 推荐(0) 编辑
摘要: Oftentimes you’ll find yourself using classes you can’t modify. Whether they’re basic data types or part of an existing framework, you’re stuck with t... 阅读全文
posted @ 2014-10-14 23:11 灵魂重新 阅读(373) 评论(0) 推荐(0) 编辑
摘要: Implicitly Typed Local VariablesIt happens time and time again: I’ll be at a game jam, mentoring students, or just showing a friend some Unity C# code... 阅读全文
posted @ 2014-10-14 20:05 灵魂重新 阅读(391) 评论(0) 推荐(0) 编辑