Class GenericJsonAssetProxy
Generic Json assets proxy (supports all json assets that don't have dedicated proxy).
Inheritance
System.Object
FlaxEditor.Content.ContentProxy
FlaxEditor.Content.AssetProxy
GenericJsonAssetProxy
Namespace: FlaxEditor.Content
Assembly: FlaxEngine.CSharp.dll
Syntax
[ContentContextMenu("New/Json Asset")]
public class GenericJsonAssetProxy : JsonAssetProxy
Constructors
GenericJsonAssetProxy()
Declaration
public GenericJsonAssetProxy()
Properties
TypeName
Declaration
public override string TypeName { get; }
Property Value
System.String
|
Overrides
FlaxEditor.Content.AssetProxy.TypeName
Methods
AcceptsAsset(String, String)
Declaration
public override bool AcceptsAsset(string typeName, string path)
Parameters
System.String
typeName
|
System.String
path
|
Returns
System.Boolean
|
Overrides
FlaxEditor.Content.AssetProxy.AcceptsAsset(System.String, System.String)
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)
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)
IsProxyFor(ContentItem)
Declaration
public override bool IsProxyFor(ContentItem item)
Parameters
FlaxEditor.Content.ContentItem
item
|
Returns
System.Boolean
|