mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Wer weiß, was ich alles so gemacht hatte...
- Fixed crash caused by early ScriptEngine shutdown
This commit is contained in:
@@ -43,4 +43,14 @@ internal static class ScriptGlue
|
||||
|
||||
#endregion RigidBody2D
|
||||
|
||||
#region Physics2D
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
internal static extern void Physics2D_GetGravity(out Vector2 gravity);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
internal static extern void Physics2D_SetGravity(in Vector2 gravity);
|
||||
|
||||
#endregion Physics2D
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user