
1.编写玩家受击逻辑BeHit(atk,dir) (1.受击时得知受到的攻击力和受击方向 (2.受击时向受击方向被击飞一小段 (3.减去相应的生命值 2.编写基本小怪逻辑 (1.wander状态,在两点间巡逻 (2.当触发OnTouchThePlayer,通知玩家BeHit 3.编写了更多摘要和参数解释 4.更新的Dotween插件的版本
113 lines
1.7 KiB
Plaintext
113 lines
1.7 KiB
Plaintext
%YAML 1.1
|
|
%TAG !u! tag:unity3d.com,2011:
|
|
--- !u!126 &1
|
|
NavMeshProjectSettings:
|
|
m_ObjectHideFlags: 0
|
|
serializedVersion: 2
|
|
areas:
|
|
- name: Walkable
|
|
cost: 1
|
|
- name: Not Walkable
|
|
cost: 1
|
|
- name: Jump
|
|
cost: 2
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
- name:
|
|
cost: 1
|
|
m_LastAgentTypeID: -1372625422
|
|
m_Settings:
|
|
- serializedVersion: 2
|
|
agentTypeID: 0
|
|
agentRadius: 0.5
|
|
agentHeight: 2
|
|
agentSlope: 45
|
|
agentClimb: 0.75
|
|
ledgeDropHeight: 0
|
|
maxJumpAcrossDistance: 0
|
|
minRegionArea: 2
|
|
manualCellSize: 0
|
|
cellSize: 0.16666667
|
|
manualTileSize: 0
|
|
tileSize: 256
|
|
accuratePlacement: 0
|
|
maxJobWorkers: 0
|
|
preserveTilesOutsideBounds: 0
|
|
debug:
|
|
m_Flags: 0
|
|
- serializedVersion: 2
|
|
agentTypeID: -1372625422
|
|
agentRadius: 0.5
|
|
agentHeight: 2
|
|
agentSlope: 45
|
|
agentClimb: 0.4
|
|
ledgeDropHeight: 0
|
|
maxJumpAcrossDistance: 0
|
|
minRegionArea: 2
|
|
manualCellSize: 0
|
|
cellSize: 0.16666667
|
|
manualTileSize: 0
|
|
tileSize: 256
|
|
accuratePlacement: 0
|
|
maxJobWorkers: 0
|
|
preserveTilesOutsideBounds: 0
|
|
debug:
|
|
m_Flags: 0
|
|
m_SettingNames:
|
|
- Humanoid
|
|
- New Agent
|