This version of Unity is unsupported.

UnsafeUtility.IsNativeContainerType

Declaration

public static bool IsNativeContainerType();

Returns

bool True if struct is a NativeContainer type, otherwise false.

Description

Returns whether the struct or type is a Unity NativeContainer. A NativeContainer type uses the NativeContainerAttribute attribute.