-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into abseil-configure-order
- Loading branch information
Showing
16 changed files
with
89 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
* Documentation for Cesium for Unity needs to exist under the Documentation~ folder, | ||
* as folders ending in ~ are ignored by Unity. However, this causes an issue with | ||
* Doxygen, as described here: https://github.com/doxygen/doxygen/issues/11273 | ||
* | ||
* The solution to this is to avoid putting the images in Doxygen's `IMAGE_PATH`, | ||
* which triggers the issue, instead copying them to the same relative directory as | ||
* the original image path in the Markdown files. The problem is that doing this from | ||
* the package.json script will cause issues with the difference between `cp` on Linux | ||
* and `copy` on Windows. Instead, we use this script to perform the copy operation | ||
* in a cross-platform way. | ||
*/ | ||
const fs = require("fs"); | ||
|
||
fs.mkdirSync("./Reference/html/Documentation~/images", { recursive: true }); | ||
const images = fs.readdirSync("./images"); | ||
images.forEach(img => fs.copyFileSync("./images/" + img, "./Reference/html/Documentation~/images/" + img)); | ||
console.log(`copied ${images.length} images to Documentation~/Reference/html`); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Developer Resources {#developer-resources} | ||
|
||
- \subpage developer-setup | ||
- \subpage reinterop | ||
- \subpage creating-monobehaviours | ||
- \subpage release-guide |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
# Overview | ||
# Developer Setup {#developer-setup} | ||
|
||
This is a summary of the setup and workflows for developers who want to modify the Cesium for Unity plugin. If you just want to use Cesium for Unity in your own applications, see the main [README](../README.md). | ||
<!--! [TOC] --> | ||
|
||
## :computer: Building Cesium for Unity | ||
## 🖥️ Building Cesium for Unity | ||
|
||
### Prerequisites | ||
|
||
|
@@ -38,7 +39,7 @@ git clone --recurse-submodules [email protected]:CesiumGS/cesium-unity.git com.cesi | |
|
||
Be sure to also clone the submodules. If you forgot the `--recurse-submodules` option when you cloned, run `git submodule update --init --recursive` inside the `com.cesium.unity` folder. | ||
|
||
## Reinterop | ||
## Reinterop {#reinterop-guide} | ||
|
||
Reinterop is a Roslyn (C# compiler) source generator that is automatically invoked by Unity while compiling the Cesium for Unity C# code, and generates C# <-> C++ interop layer. | ||
|
||
|
Submodule doxygen-awesome-css
added at
af1d90
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters