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 小时前
Cesium学习第二章 camera 相机
node.js·html·vue3·js·cesium
淡海水5 小时前
【节点】[Texture2DAsset节点]原理解析与实际应用
unity·游戏引擎·shadergraph·图形·texture2dasset
向宇it5 小时前
【unity游戏开发——网络】unity+PurrNet联机实战,实现一个多人对战类《CS/CSGO》《CF/穿越火线》《PUBG/吃鸡》的FPS射击游戏
游戏·unity·游戏引擎·交互·联机
旧梦吟5 小时前
脚本网页 双子星棋
算法·flask·游戏引擎·css3·html5
gshh__16 小时前
SuperMap Hi-Fi 3D SDK for Unreal 如何修改模型选中高亮颜色
ue5·游戏引擎·supermap
沉默金鱼1 天前
Unity实用技能-GM命令
unity·游戏引擎
chillxiaohan1 天前
unity粗糙、高光、光泽度调节shader记录
unity·游戏引擎
星夜泊客1 天前
Unity UI 渲染与 Rebuild 机制简易解析
unity·游戏引擎
冥界摄政王1 天前
Cesium学习第一章 安装下载 基于vue3引入Cesium项目开发
vue·vue3·html5·webgl·cesium
一线灵1 天前
跨平台游戏引擎 Axmol-2.11.1 发布
游戏引擎