Version: 2020.2
protected Type extraDataType ;

描述

覆盖此属性以返回从 ScriptableObject 继承的类型。这使 AssetImporterEditor 可了解导入器外部的序列化数据。

返回从 ScriptableObject 继承的类型时,AssetImporterEditor 会在检视面板初始化过程中为每个 Editor.targets 创建此类型的实例。 仅当要管理 ScriptedImporter 序列化外部的数据时,才应使用此内容。请参阅 AssetImporterEditor 页面以了解示例。