Class SyncObjectScriptedImporter
Inheritance
SyncObjectScriptedImporter
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, "SyncObject", 2)]
public class SyncObjectScriptedImporter : ReflectScriptedImporter, IMaterialCache, IMeshCache
Methods
GetMaterial(StreamKey)
Declaration
public Material GetMaterial(StreamKey id)
Parameters
Type | Name | Description |
---|---|---|
StreamKey | id |
Returns
Type | Description |
---|---|
Material |
Implements
GetMesh(StreamKey)
Declaration
public Mesh GetMesh(StreamKey id)
Parameters
Type | Name | Description |
---|---|---|
StreamKey | id |
Returns
Type | Description |
---|---|
Mesh |
Implements
OnImportAsset(AssetImportContext)
Declaration
public override void OnImportAsset(AssetImportContext ctx)
Parameters
Type | Name | Description |
---|---|---|
AssetImportContext | ctx |