기술 자료

Unity Engine

Unity Engine

Apply()

Saves any changes from the Editor's control into the asset's import settings object.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

protected virtual void Apply()

Remarks

Can be overridden as required. Gets called when changes to settings are being applied.

Examples

using UnityEngine;using UnityEditor;using UnityEditor.AssetImporters;public class ExampleScript : AssetImporterEditor{ protected override void Apply() { base.Apply(); Debug.Log("The Importer has been applied."); }}