Unity3d-AngryBots实例解读

最近粗略研究了下Unity3d自带的例子AngryBots,记录一下,部分内容摘自http://oulehui.blog.163.com/blog/static/7961469820125251051964/

主要对涉及到游戏逻辑的Player、Enemies以及Environment(dynamic)展开叙述一下。

首先,主层级图。

Unity3d-AngryBots实例解读

Player:

Unity3d-AngryBots实例解读

Player--FreeMovementMotor:

Unity3d-AngryBots实例解读

Player--PlayerMoveController:

Unity3d-AngryBots实例解读

Player--player:

Unity3d-AngryBots实例解读

Player--HealthFlash、SpawnAtCheckpoint、Health

Unity3d-AngryBots实例解读

Player--FootstepHandler:

Unity3d-AngryBots实例解读

===================================分割线====================================

Enemies(以SimpleBuzzers1为例,其他的怪类似):

Unity3d-AngryBots实例解读

Enemies--SimpleBuzzers1--KamikazeBuzzer:

Unity3d-AngryBots实例解读

Environment(dynamic):

Unity3d-AngryBots实例解读

Environment(semi-dynamic):

Unity3d-AngryBots实例解读

Environment(semi-dynamic)--Doors--PlayerSlideDoor:

Unity3d-AngryBots实例解读

上一篇:JSP中文乱码问题终极解决方案


下一篇:Lodash.js的库