Version: 2023.1
public void OnEnable ();

描述

Unity calls this function when an asset is about to be created, allowing user to setup any actions that needs to be called during the asset creation process from the Project Browser.