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