Experimental: this API is experimental and might be changed or removed in the future.

AssetImporterEditor.extraDataType

切换到手册
protected Type extraDataType ;

描述

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

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

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961