Class SyncMaterialScriptedImporter
Inheritance
SyncMaterialScriptedImporter
Syntax
public class SyncMaterialScriptedImporter : ReflectScriptedImporter, ITextureCache
Methods
GetTexture(String)
Declaration
public virtual Texture2D GetTexture(string key)
Parameters
| Type |
Name |
Description |
| String |
key |
|
Returns
| Type |
Description |
| Texture2D |
|
Implements
OnImportAsset(AssetImportContext)
Declaration
public override void OnImportAsset(AssetImportContext ctx)
Parameters
| Type |
Name |
Description |
| AssetImportContext |
ctx |
|