Class SyncMaterialScriptedImporter
Inheritance
SyncMaterialScriptedImporter
Inherited Members
UnityEditor.AssetImporter.AddRemap(UnityEditor.AssetImporter.SourceAssetIdentifier, UnityEngine.Object)
UnityEditor.AssetImporter.RemoveRemap(UnityEditor.AssetImporter.SourceAssetIdentifier)
UnityEditor.AssetImporter.assetTimeStamp
Namespace: UnityEditor.Reflect
Syntax
[ScriptedImporter(1, "SyncMaterial", 1)]
public class SyncMaterialScriptedImporter : ReflectScriptedImporter, ITextureCache
Methods
GetTexture(SyncId)
Declaration
public virtual Texture2D GetTexture(SyncId id)
Parameters
Type | Name | Description |
---|---|---|
SyncId | id |
Returns
Type | Description |
---|---|
Texture2D |
Implements
OnImportAsset(AssetImportContext)
Declaration
public override void OnImportAsset(AssetImportContext ctx)
Parameters
Type | Name | Description |
---|---|---|
AssetImportContext | ctx |