随笔分类 - Unity
摘要:DOTween Document https://dotween.demigiant.com/documentation.php DOTween Download https://dotween.demigiant.com/download.php
阅读全文
摘要:Unity Ads 配置广告网络 ID SKAdNetwork URL
阅读全文
摘要:升级Unity版本到Unity2021或者更加新的版本 低级版本,如Unity5.6/2017/2018打出的WebGL版本可以浏览器中运行,但不能在手机浏览器中运行 更加低级的版本如,Unity4.x/3.x 只能在安装了Unity Web Player插件的32位浏览器中运行,在H5大行其道的当
阅读全文
摘要:androidx.fragment:fragment (androidx.fragment:fragment) has reported version 1.0.0 as outdated. Consider upgrading to one of the following versions be
阅读全文
摘要:UnityWebGL游戏运行时,浏览器后台输出:You can reduce startup time if you configure your web server to add "Content-Encoding: br" response header when serving "Build
阅读全文
摘要:EditorUtility.DisplayProgressBar("Modify Prefab", "Please wait...", 0); string[] ids = AssetDatabase.FindAssets("t:Prefab", new string[] { "Assets/Res
阅读全文
摘要:火狐浏览器Firefox历史版本官方下载地址: https://ftp.mozilla.org/pub/firefox/releases/ 或者通过如下链接下载: https://download.mozilla.org/?product=firefox-17.0&os=linux&lang=zh-
阅读全文
摘要:Unity项目,不带任何SDK导出项目是没有问题的,一旦加入Admob, facebook之后,就会出现:CocoPods Installation failure 升级MAC OS系统,升级SDK版本,升级Unity版本时,该问题是经常发生!发生该问题表示项目中用pod管理的sdk未下载下来配置好
阅读全文
摘要:CMP dest, src0, src1, src2 Choose src1 if src0 >= 0. Otherwise, choose src2. The comparison is done per channel. dest = ((src0 >= 0) ? 1.0 : 0.0) * (s
阅读全文
摘要:.obj 文件保存的内容非常有限:顶点、纹理坐标(最多一套)、法线、三角面;它不支持顶点色、多套纹理坐标(uv2, uv3)、TANGENT、BINORMAL、骨骼权重。 搜索某度,被其内容所误导,花费不少时间 搜索.obj文件支持多套纹理坐标方式,未果! 后在Blender中尝试导出带有2套纹理坐
阅读全文
摘要:Unity Shader参考入口 Vertex and fragment shader Shader "Unlit/NewUnlitShader" { Properties { _MainTex ("Texture", 2D) = "white" {} } SubShader { Tags { "R
阅读全文
摘要:方法1: 使用Application类下的CaptureScreenshot方法 void CaptureScreen() { Application.CaptureScreenshot("Screenshot.png", 0); } 这个方法,截取的是某一帧时整个游戏的画面,或者说是全屏截图。 不
阅读全文
摘要:The .sbsasm file can be copied out of the SubstanceArchive. Export it raw and delete everything before "SBAM" in a hex editor. The only issue is the .
阅读全文
摘要:chmod a+x ./MapFileParser.sh 操作如下:
阅读全文
摘要:Unity5 APIUpdater encountered some issues and was not able to finish. Ran the updater, then searched the editor log for "upgradable" or "UnityUpgradab
阅读全文
摘要:// Upgrade NOTE: replaced '_Projector' with 'unity_Projector' // Upgrade NOTE: replaced '_ProjectorClip' with 'unity_ProjectorClip' Shader "Projector/
阅读全文
摘要:Shader "ZX/BaseVertFragmentShadow" { Properties { _DiffuseTexture ("Diffuse Texture", 2D) = "white" {} _DiffuseTint ( "Diffuse Tint", Color) = (1, 1,
阅读全文
摘要:在Windows10上用Unity4.7导出项目,然后拷贝到MacMini上用XCode14.2编译构建项目。尝试下发现有不少问题,最后没有能成功打包。走过路过的高手,知道这其中缘由的还请指教下,不胜感激! libstdc++.a 库文件缺失 库文件缺失,解决办法:用Xcode 9.3版本补充即可,
阅读全文
摘要:对于Mac Mini Apple M1 2020来说,因为更新到了MacOS 13.4.1 ,在该设备上不能打开Unity 2017/2018了。所以采用另外的方式来构建ios版本:在windows10系统上导出ios build, 然后把该build拷贝到mac minini上来构建。尝试了该方式
阅读全文
摘要:iTween oncomplete回调不工作 iTween.MoveTo (newBoom, iTween.Hash "y", 100f, "speed",Boomspeed, "EaseType",BoomeaseType, "LoopType",BoomloopType, "oncomplete
阅读全文