Version: 2021.3

EditorToolContext.OnWillBeDeactivated

切换到手册
public void OnWillBeDeactivated ();

描述

Invoked before this EditorToolContext stops being the active tool context.