LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

Assert.raiseExceptions

public static bool raiseExceptions;

Description

Should an exception be thrown on a failure.

If true, an Assertinos.AssertionException will be thrown instead of logging a message. This will break the control flow of the execution.