文档

Unity Engine

Unity Engine

IsActiveContext(EditorToolContext)

Test if an EditorToolContext is currently the active tool context.
阅读时间1 分钟最后更新于 1 个月前

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.