Search Results for

    Show / Hide Table of Contents

    Class ScriptProxy

    Context proxy object for script files (represented by ScriptItem).

    Inheritance
    System.Object
    FlaxEditor.Content.ContentProxy
    ScriptProxy
    CppProxy
    CSharpProxy
    Namespace: FlaxEditor.Content
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public abstract class ScriptProxy : ContentProxy

    Constructors

    ScriptProxy()

    Declaration
    protected ScriptProxy()

    Properties

    AccentColor

    Declaration
    public override Color AccentColor { get; }
    Property Value
    Color

    Overrides
    FlaxEditor.Content.ContentProxy.AccentColor

    NewItemName

    Declaration
    public override string NewItemName { get; }
    Property Value
    System.String

    Overrides
    FlaxEditor.Content.ContentProxy.NewItemName

    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)

    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)

    IsFileNameValid(String)

    Declaration
    public override bool IsFileNameValid(string filename)
    Parameters
    System.String filename

    Returns
    System.Boolean

    Overrides
    FlaxEditor.Content.ContentProxy.IsFileNameValid(System.String)

    Open(Editor, ContentItem)

    Declaration
    public override EditorWindow Open(Editor editor, ContentItem item)
    Parameters
    Editor editor

    FlaxEditor.Content.ContentItem item

    Returns
    EditorWindow

    Overrides
    FlaxEditor.Content.ContentProxy.Open(FlaxEditor.Editor, FlaxEditor.Content.ContentItem)

    TryGetProjectAtFolder(String, out String)

    Tries the get project that is related to the given source file path. Works only for source files located under Source folder of the project.

    Declaration
    protected ProjectInfo TryGetProjectAtFolder(string path, out string moduleName)
    Parameters
    System.String path

    The path.

    System.String moduleName

    The name of the module where the source file lays. Computed from path. Might be invalid..

    Returns
    ProjectInfo

    The found project or null.

    Extension Methods

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

    See Also

    FlaxEditor.Content.ContentProxy
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat