add simple runtime; fix the issue of crashing when creating file and folder; some tweaks
This commit is contained in:
@ -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