예제 #1
0
 public static void CheckIsUnmanaged <T>()
 {
     if (!UnsafeUtilityEx.IsUnmanaged <T>())
     {
         throw new ArgumentException($"{typeof(T)} used in native collection is not blittable or primitive");
     }
 }