This commit is contained in:
2025-12-02 18:28:53 +08:00
parent 917ba0626a
commit 92c8721d7a
29 changed files with 225 additions and 19 deletions

View File

@@ -37,11 +37,11 @@ head:
### 导入[资源](/resources/studycase3/case3.zip)(天空球,描边,道具模型)
## 5.勇者行迹录-章节任务
### 创建StudyCase3
### 5.1 创建StudyCase3
- 复制场景和脚本改名为StudyCase3
- 修改控制器的命名空间
### 道具
### 5.2 道具
- 把导入的道具模型放到场景中
<img src="/image/studycase3/把导入的道具模型放到场景中.png" data-fancybox="gallery"/>
@@ -119,6 +119,7 @@ namespace StudyCase3
<img src="/image/studycase3/创建Pick输入事件绑定F.png" data-fancybox="gallery"/>
### 5.3 Player脚本和设置
- 修改`Assets\Scripts\StudyCase3` 下脚本 `ThirdCharacterController.cs`
```csharp
using UnityEngine;