Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsActiveContext(EditorToolContext)

Test if an EditorToolContext is currently the active tool context.
Read time 1 minuteLast updated 6 days ago

Definition

public static bool IsActiveContext(EditorToolContext context)

Parameters

The EditorToolContext to compare with the active tool context.

Returns

Type

Description

boolReturns true if the context is active, false if it is not the active context.