unity 战神4奎爷的回旋战斧

项目预览

一:原作地址
https://www.youtube.com/watch?v=M-3P59GtRW4

二:项目源码
https://github.com/mixandjam/GodofWar-AxeThrow.git

三:运行结果
运行环境:2018.4.36f1
报错

//报错1
Library/PackageCache/com.unity.probuilder@4.0.4/Settings/Editor/UserSettingsProvider.cs(15,19): error CS0234: The type or namespace name 'UIElements' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)
//修改 把UNITY_2018_3  改为UNITY_2018_4

特别注意
导入后打开场景出现了脚本丢失,从新添加脚本报错
Can't add script behaviour CallbackExecutor. The script needs to derive from MonoBehaviour!
需要进入到ThrowController.cs

public class ThrowController : MonoBehaviour   
改成public class ThrowController: MonoBehaviour

操作说明
鼠标滑动可以改变镜头,右键是挥动蓄力,出现瞄准点,然后左键砍出,然后左键返回

可以快乐的玩耍了
砍中了
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容