11 2022 档案

摘要:https://stackoverflow.com/questions/64461565/why-unity-includes-the-editor-directories-in-build 1.Unity自动识别Editor文件夹,在building的时候进行忽略. 2.如果指定了asmdef,则 阅读全文
posted @ 2022-11-18 17:35 sun_dust_shadow 阅读(465) 评论(0) 推荐(0) 编辑
摘要:如下:多场景的情况也适合 参考: https://gamedev.stackexchange.com/questions/134675/unity-bounds-includes-the-center-of-the-scene 1 private List<Bounds> _worldBoundsL 阅读全文
posted @ 2022-11-10 14:56 sun_dust_shadow 阅读(480) 评论(0) 推荐(0) 编辑
摘要:特效那边需要做 墙壁和Enemy被 子弹击中后的VFX旋转。 VFX的Y轴需要程序动态指定 hitNormal = (bulletPos - pos).normalized 1 vfx.LookAt(pos + hitNormal); 2 vfx.Rotate(90,0,0); 阅读全文
posted @ 2022-11-01 17:04 sun_dust_shadow 阅读(52) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示