Class SpawnableJsonAssetProxy<T>
Content proxy for a json assets of the given type that can be spawned in the editor.
Inheritance
System.Object
FlaxEditor.Content.ContentProxy
FlaxEditor.Content.AssetProxy
SpawnableJsonAssetProxy<T>
Namespace: FlaxEditor.Content
Assembly: FlaxEngine.CSharp.dll
Syntax
public class SpawnableJsonAssetProxy<T> : JsonAssetProxy where T : new()
Type Parameters
T
|
Constructors
SpawnableJsonAssetProxy()
Default Constructor.
Declaration
public SpawnableJsonAssetProxy()
SpawnableJsonAssetProxy(SpriteHandle)
Constructor with overriden thumbnail.
Declaration
public SpawnableJsonAssetProxy(SpriteHandle thumbnail)
Parameters
SpriteHandle
thumbnail
The thumbnail to use. |
Properties
Name
Declaration
public override string Name { get; }
Property Value
System.String
|
Overrides
TypeName
Declaration
public override string TypeName { get; }
Property Value
System.String
|
Overrides
FlaxEditor.Content.AssetProxy.TypeName
Methods
CanCreate(ContentFolder)
Declaration
public override bool CanCreate(ContentFolder targetLocation)
Parameters
FlaxEditor.Content.ContentFolder
targetLocation
|
Returns
System.Boolean
|
Overrides
FlaxEditor.Content.ContentProxy.CanCreate(FlaxEditor.Content.ContentFolder)
ConstructItem(String, String, ref Guid)
Declaration
public override AssetItem ConstructItem(string path, string typeName, ref Guid id)
Parameters
System.String
path
|
System.String
typeName
|
System.Guid
id
|
Returns
FlaxEditor.Content.AssetItem
|
Overrides
Create(String, Object)
Declaration
public override void Create(string outputPath, object arg)
Parameters
System.String
outputPath
|
System.Object
arg
|
Overrides
FlaxEditor.Content.ContentProxy.Create(System.String, System.Object)