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

相关推荐
没事写写笔记1 小时前
Unity HDRP14.0.12 Volume 配置参数
unity
红黑色的圣西罗4 小时前
手游手动异形屏适配方案,类“明日方舟”
unity
syker15 小时前
3D游戏引擎Bluely Engine 开发手册
开发语言·3d·游戏引擎
Longyugxq1 天前
Untiy的Webgl端网页端视频播放,又不想直接mp4格式等格式的。
unity·音视频·webgl
avi91111 天前
Unity毛玻璃渲染模糊渲染Shader数学入门
unity·aigc·图形学·shader·hlsl
微光守望者1 天前
Unity小知识【1】:刚体(Rigidbody)与碰撞器(Collider)的区别,你真的清楚吗?
unity·游戏引擎
孟无岐1 天前
【Laya】Byte 二进制数据处理
网络·typescript·游戏引擎·游戏程序·laya
孟无岐1 天前
【Laya】ClassUtils 类反射工具
typescript·游戏引擎·游戏程序·laya
June bug1 天前
【配环境】unity项目开发环境
unity·游戏引擎
JQLvopkk1 天前
C#调用Unity实现设备仿真开发浅述
开发语言·unity·c#