Search Results for

    Show / Hide Table of Contents

    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
    JsonAssetBaseProxy
    JsonAssetProxy
    SpawnableJsonAssetProxy<T>
    Inherited Members
    JsonAssetProxy.Extension
    JsonAssetProxy.Open(Editor, ContentItem)
    JsonAssetProxy.IsProxyFor(ContentItem)
    JsonAssetProxy.FileExtension
    JsonAssetProxy.AccentColor
    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
    JsonAssetProxy.Name

    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
    JsonAssetProxy.ConstructItem(String, String, ref Guid)

    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)

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.DeepClone<T>(T)
    Extensions.RawClone<T>(T)

    See Also

    JsonAssetProxy
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat