Unity3d-AngryBots实例解读
最近粗略研究了下Unity3d自带的例子AngryBots,记录一下,部分内容摘自http://oulehui.blog.163.com/blog/static/7961469820125251051964/
主要对涉及到游戏逻辑的Player、Enemies以及Environment(dynamic)展开叙述一下。
首先,主层级图。
Player:
Player--FreeMovementMotor:
Player--PlayerMoveController:
Player--player:
Player--HealthFlash、SpawnAtCheckpoint、Health
Player--FootstepHandler:
===================================分割线====================================
Enemies(以SimpleBuzzers1为例,其他的怪类似):
Enemies--SimpleBuzzers1--KamikazeBuzzer:
Environment(dynamic):
Environment(semi-dynamic):
Environment(semi-dynamic)--Doors--PlayerSlideDoor: