ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


Apply()

Saves any changes from the Editor's control into the asset's import settings object.
読み終わるまでの所要時間 1 分最終更新 25日前

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