Class SyncObjectScriptedImporter
Inheritance
SyncObjectScriptedImporter
Inherited Members
UnityEditor.AssetImporter.AddRemap(UnityEditor.AssetImporter.SourceAssetIdentifier, UnityEngine.Object)
UnityEditor.AssetImporter.RemoveRemap(UnityEditor.AssetImporter.SourceAssetIdentifier)
UnityEditor.AssetImporter.assetTimeStamp
Syntax
[ScriptedImporter(1, "SyncObject", 2)]
public class SyncObjectScriptedImporter : ReflectScriptedImporter, IMaterialCache, IMeshCache
Methods
GetMaterial(SyncId)
Declaration
public Material GetMaterial(SyncId id)
Parameters
Type |
Name |
Description |
SyncId |
id |
|
Returns
Implements
GetMesh(SyncId)
Declaration
public Mesh GetMesh(SyncId id)
Parameters
Type |
Name |
Description |
SyncId |
id |
|
Returns
Implements
OnImportAsset(AssetImportContext)
Declaration
public override void OnImportAsset(AssetImportContext ctx)
Parameters
Overrides