Version: 2021.2

EditorToolContext.OnWillBeDeactivated

切换到手册
public void OnWillBeDeactivated ();

描述

Invoked before this EditorToolContext stops being the active tool context.