add simple runtime; fix the issue of crashing when creating file and folder; some tweaks
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<InvariantGlobalization>true</InvariantGlobalization>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
using System.Runtime.InteropServices;
|
||||
using Prism;
|
||||
|
||||
namespace FPSExample
|
||||
@ -46,6 +47,9 @@ namespace FPSExample
|
||||
m_LastMousePosition = Input.GetMousePosition();
|
||||
|
||||
Input.SetCursorMode(Input.CursorMode.Locked);
|
||||
|
||||
int size = Marshal.SizeOf<Transform>();
|
||||
Console.WriteLine($"C# size of Transform: {size}");
|
||||
}
|
||||
|
||||
void OnUpdate(float ts)
|
||||
|
||||
Reference in New Issue
Block a user