Version: 2020.2
言語: 日本語
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 MonoBehaviour.Awake.

using UnityEngine;
using UnityEditor;
using UnityEditor.AssetImporters;

public class ExampleScript : AssetImporterEditor { protected override void Awake() { base.Awake(); Debug.Log("Awake"); } }

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