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

相关推荐
_ZHOURUI_H_6 小时前
MyFramework: 同样是 Unity 游戏开发框架,和 HTFramework 的设计取向有什么不同?(下)
unity·游戏引擎·游戏开发·游戏ui·手游开发
用户83134859306981 天前
Cesium自定义可调节星空夜景+星星闪烁
vue.js·cesium
丁小未2 天前
基于MVVM框架的XUUI 扩展的UI管理系统教程
unity·mvvm·ui框架·xuui·ui管理器
丁小未2 天前
基于MVVM框架的XUUI HelloWorld 新手教程
unity·性能优化·c#·游戏引擎
丁小未2 天前
基于MVVM框架的XUUI MoreComplex案例
unity·c#
EQ-雪梨蛋花汤2 天前
【Unity笔记】VR 一体机画面锯齿、模型边缘闪烁、接缝抖动排查:MSAA、Mipmap、Render Scale、Z-Fighting 全流程记录
笔记·unity·vr
松树戈3 天前
【Godot4精进之路】03~Godot编辑器常用界面介绍
编辑器·游戏引擎·godot
YigAin3 天前
Unity Spine 资源出现白边的解决办法
unity·游戏引擎·spine
郝学胜-神的一滴3 天前
中级OpenGL教程 013:渲染器类架构设计与逐帧渲染流程详解
开发语言·c++·unity·游戏引擎·图形渲染·opengl·unreal
_helen_5204 天前
unreal engine 虚拟现实 + airsim
游戏引擎·vr·虚幻