Version: 2017.1
Experimental: this API is experimental and might be changed or removed in the future.

AssetImporterEditor.Awake

マニュアルに切り替える
protected void Awake ();

説明

This function is called when the Editor script is started.

Awake is called as the AssetImporterEditor script starts. This happens as the editor is launched and is similar to MonoBehavior.Awake).

using UnityEngine;
using UnityEditor;
using UnityEditor.Experimental.AssetImporters;

public class ExampleScript : MonoBehaviour { public override void Awake() { base.Awake(); print("Awake"); } }

OnDisable はコルーチンにすることができません。