Version: 2020.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 MonoBehaviour.Awake.

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

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

OnDisable cannot be a co-routine.