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
- Type: Method
- Namespace: UnityEditor.AssetImporters
- Assembly: UnityEditor
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."); }}