Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

UnsafeUtility.IsBlittable

public static bool IsBlittable();
public static bool IsBlittable(Type type);

Parameters

typeThe System.Type of a struct.

Returns

bool True if struct is blittable, otherwise false.

Description

Returns whether the struct is blittable.

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