Version: 2022.2

ToolManager.IsActiveContext

切换到手册
public static bool IsActiveContext (EditorTools.EditorToolContext context);

参数

context The EditorToolContext to compare with the active tool context.

返回

bool Returns true if the context is active, false if it is not the active context.

描述

Test if an EditorToolContext is currently the active tool context.