mirror of
https://github.com/hanetzer/sdraw_mods_cvr.git
synced 2025-09-05 11:29:23 +00:00
Logic rewrite
Update to LeapCSharp 5.13.1 Not tested in VR
This commit is contained in:
parent
a41f17af82
commit
3609500959
21 changed files with 566 additions and 103 deletions
4
ml_lme/vendor/LeapCSharp/StructMarshal.cs
vendored
4
ml_lme/vendor/LeapCSharp/StructMarshal.cs
vendored
|
@ -53,13 +53,9 @@ namespace LeapInternal
|
|||
public static void PtrToStruct(IntPtr ptr, out T t)
|
||||
{
|
||||
#if ENABLE_IL2CPP
|
||||
#if UNITY_2018_1_OR_NEWER
|
||||
unsafe {
|
||||
Unity.Collections.LowLevel.Unsafe.UnsafeUtility.CopyPtrToStructure((void*)ptr, out t);
|
||||
}
|
||||
#else
|
||||
#error UnityModules Only supports IL2CPP on versions of Unity 2018.1 or greater.
|
||||
#endif
|
||||
#else
|
||||
if (_container == null)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue