Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Apply()

Saves any changes from the Editor's control into the asset's import settings object.
Read time 1 minuteLast updated 16 days ago

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."); }}