Cesium for Unity 去除Cesium Logo

效果图

1、dotnet和cmake

复制代码
dotnet --version 
9.0.307
cmake-3.31.9-windows-x86_64.msi

2、Windows启用长路径

3、clone com.cesium.unity到在Unity工程的Packages下

复制代码
直接用最新的代码
git clone --recurse-submodules https://github.com/CesiumGS/cesium-unity.git com.cesium.unity 
com.cesium.unity
cd com.cesium.unity
dotnet publish Reinterop~ -o .
cd native~
Debug版本
cmake -B build -S . -DCMAKE_BUILD_TYPE=Debug
cmake --build build -j14 --target install --config Debug
Release版本
cmake -B build -S . -DCMAKE_BUILD_TYPE=RelWithDebInfo 
cmake --build build -j14 --target install --config RelWithDebInfo

4、遇见 IonTokenTroubleshootingWindowImpl.h:3:10: fatal error: 'DotNet/System/String.h' file not

found

编辑器打开工程找个代码,加个空格保存编译一下,再关掉

再走一遍

cmake -B build -S . -DCMAKE_BUILD_TYPE=Debug

5、去掉logo

源码文件:native~/Runtime/src/CesiumCreditSystemImpl.cpp

修改位置:注释掉调用 htmlToCreditComponents方法的代码

cmake --build build -j14 --target install --config Debug

相关推荐
流浪打工人5 小时前
Unity3d TimeLine中audio track的使用
unity
总要学点什么7 小时前
第51篇:数据分析-热力图——笔刷画的是圆,落到地上却成了椭圆
3d·数据挖掘·数据分析·前端框架·gis·webgl·cesium
淡海水8 小时前
02-07-原理篇-GC暂停时间的本质
开发语言·unity·c#·gc·暂停时间
WarPigs8 小时前
UI路径配置SO>字典json工作流
ui·unity
淡海水11 小时前
02-06-原理篇-增量式GC与并发GC
算法·unity·c#·并发·gc·增量
阿松爱学习1 天前
【Unity开发】Aspose.PDF的使用
unity·pdf·c#
淡海水1 天前
02-04-原理篇-GC Roots与对象图遍历
算法·unity·c#·图·gc·遍历·roots
总要学点什么3 天前
第47篇:三维特效-雷达波效果——波纹一圈圈往外推,一半却埋在地下
3d·前端框架·gis·webgl·cesium
辻弋2015 天前
五年前的旅行视频糊成马赛克?Video2X用Real-ESRGAN逐帧重建细节,但只支持Windows、集显用户建议直接放弃
服务器·数据库·windows·游戏引擎·电脑
Martina_03215 天前
AI生成3D场景导入 Unity/Unreal 后,NPC 总串层?用6步检查导航高度与跨层连接
人工智能·游戏·数学建模·3d·unity·自然语言处理·aigc