Unity中文教程 Ep.09 创建敌人 敌人随机移动 敌人随机开火 创建敌人子弹 横版卷轴射击游戏 项目实战 制作全过程
---- 本期视频简介 ----
本期创建了几个敌人,为敌人创建了基础的子弹,实现了敌人的随机移动和随机射击。
---- 资源包下载链接 ----
➤Github - https://github.com/AtCloudStudio/ShootingStarPackages/tree/master/Packages
➤Star Sparrow Modular Spaceship - Unity Asset Store -
https://assetstore.unity.com/packages/3d/vehicles/space/star-sparrow-modular-spaceship-73167
➤脚本源代码 - https://github.com/AtCloudStudio/ShootingStarPackages/tree/master/Scripts
💬有任何问题请在评论中留言,我会尽力回答。
---- 系列视频简介 ----
本系列视频将探讨 Input System,对象池,物品掉落,视差背景系统等内容。
适合有一定Unity游戏开发基础的同学继续深入学习。
➤本系列视频播放列表 - https://youtube.com/playlist?list=PLrn_k3ArwNC3mgZ7fSifIsYxHguAnO1w8
---- 关于我 ----
你好啊!欢迎来到我的视频!
我是阿严,一个小小的独立游戏开发者。
在我的视频中,我会尽力地将我所学到的知识分享给你。
如果你觉得我的视频对你有所帮助,
请帮我点赞并订阅我的频道,让我能做出更多的视频,谢谢😀
➤订阅我的频道,里面有更多内容 - https://www.youtube.com/channel/UCSRCf2y6LV8vpKSoXDoU2VQ?sub_confirmation=1
----- 社交媒体与社区 ----
►Discord Server - https://discord.gg/ZmTgSCe4Jq
►Twitter - https://twitter.com/XuZuyan
-------- 参考资料链接 Reference Links--------
Vector3.Distance() - Unity Documentation Scripting API -
https://docs.unity3d.com/ScriptReference/Vector3.Distance.html
Vector3.MoveTowards() - Unity Documentation Scripting API -
https://docs.unity3d.com/2021.2/Documentation/ScriptReference/Vector3.MoveTowards.html
Mathf.Epsilon - Unity Documentation Scripting API -
https://docs.unity3d.com/ScriptReference/Mathf.Epsilon.html
Header Attribute - Unity Documentation Scripting API -
https://docs.unity3d.com/ScriptReference/HeaderAttribute.html
Quaternion.FromToRotation() - Unity Documentation Scripting API -
https://docs.unity3d.com/ScriptReference/Quaternion.FromToRotation.html
Script Execution Order settings - Unity Manual -
https://docs.unity3d.com/2021.1/Documentation/Manual/class-MonoManager.html
---- 章节&知识点时间戳 ----
00:00 本期视频简介
01:00 导入本期资源包
01:49 创建第一个敌人
02:45 敌人随机移动
08:58 伪代码
13:29 手动更改脚本执行顺序
14:36 敌人随机开火
17:04 Header Attribute
18:57 创建基础敌人子弹
24:12 片尾及下期预告
---- 标签 ----
#madewithunity
#UnityTutorial
#indiedev
#Unity教程
#独立游戏开发
#横版卷轴射击游戏
#游戏开发
#indiegames