public static void *pnew <T>(ref void *ptr, ref T source, Unity.Collections.Allocator allocator = Unity.Collections.Allocator.Persistent) where T : struct { return(MemUtils.CreateFromStruct(ref ptr, ref source, allocator)); }
public static void *pnew <T>(Unity.Collections.Allocator allocator = Unity.Collections.Allocator.Persistent) where T : struct { return(MemUtils.CreateFromStruct <T>(allocator)); }