UnsafeUtility.IsUnmanaged

Declaration

public static bool IsUnmanaged();

Declaration

public static bool IsUnmanaged(Type type);

Parameters

type The System.Type of a struct.

Returns

bool True if type is unmanaged, otherwise false.

Description

Checks whether the struct or type is unmanaged.

An unmanaged type contains no managed fields, and can be freely copied in memory.


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