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.


Did you find this page useful? Please give it a rating: