This version of Unity is unsupported.

UnsafeUtility.IsBlittable

Declaration

public static bool IsBlittable();

Declaration

public static bool IsBlittable(Type type);

Parameters

type The System.Type of a struct.

Returns

bool True if struct is blittable, otherwise false.

Description

Returns whether the struct is blittable.