Cesium for Unity 1.15.2
Loading...
Searching...
No Matches
TestReinterop.cs
Go to the documentation of this file.
1using Reinterop;
2
3namespace CesiumForUnity
4{
8 [ReinteropNativeImplementation("CesiumForUnityNative::TestReinteropImpl", "TestReinteropImpl.h", true)]
9 internal partial class TestReinterop
10 {
11 public partial bool CallThrowAnExceptionFromCppAndCatchIt();
12 public partial bool CallThrowAnExceptionFromCppAndDontCatchIt();
13 public partial bool ThrowCppStdException();
14 public partial bool ThrowOtherCppExceptionType();
15
16 public static void ThrowAnException()
17 {
18 throw new System.Exception("Test Exception!");
19 }
20 }
21}