Class SyncMaterialScriptedImporter
Inherited Members
Namespace: UnityEditor.Reflect
Syntax
public class SyncMaterialScriptedImporter : ReflectScriptedImporter, ITextureCache
Methods
GetTexture(String)
Declaration
public virtual Texture2D GetTexture(string key)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | key |
Returns
| Type | Description |
|---|---|
| Texture2D |
Implements
OnImportAsset(AssetImportContext)
Declaration
public override void OnImportAsset(AssetImportContext ctx)
Parameters
| Type | Name | Description |
|---|---|---|
| AssetImportContext | ctx |