Class SyncTextureScriptedImporter
Inherited Members
UnityEditor.AssetImporter.AddRemap(UnityEditor.AssetImporter.SourceAssetIdentifier, UnityEngine.Object)
UnityEditor.AssetImporter.RemoveRemap(UnityEditor.AssetImporter.SourceAssetIdentifier)
UnityEditor.AssetImporter.assetTimeStamp
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEditor.Reflect
Syntax
[ScriptedImporter(1, "SyncTexture")]
public class SyncTextureScriptedImporter : ScriptedImporter
Methods
Import(SyncTexture, SyncTextureImporter)
Declaration
public static Texture2D Import(SyncTexture syncTexture, SyncTextureImporter importer)
Parameters
| Type | Name | Description |
|---|---|---|
| SyncTexture | syncTexture | |
| SyncTextureImporter | importer |
Returns
| Type | Description |
|---|---|
| Texture2D |
OnImportAsset(AssetImportContext)
Declaration
public override void OnImportAsset(AssetImportContext ctx)
Parameters
| Type | Name | Description |
|---|---|---|
| AssetImportContext | ctx |