Show / Hide Table of Contents

    Class EditorHelpers

    Inheritance
    Object
    EditorHelpers
    Namespace: QFSW.BA
    Assembly: QFSW.BA.dll
    Syntax
    public static class EditorHelpers

    Fields

    ProjectRoot

    Declaration
    public static readonly string ProjectRoot
    Field Value
    Type Description
    String

    Methods

    DrawBanner(Texture2D, Single)

    Declaration
    public static void DrawBanner(Texture2D banner, float sizeMultiplier = 1F)
    Parameters
    Type Name Description
    UnityEngine.Texture2D banner
    Single sizeMultiplier

    LoadAssetInSource<T>(String)

    Declaration
    public static T LoadAssetInSource<T>(string assetName)
    
        where T : Object
    Parameters
    Type Name Description
    String assetName
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    LoadAssetInSource<T>(String, String)

    Declaration
    public static T LoadAssetInSource<T>(string assetName, string root)
    
        where T : Object
    Parameters
    Type Name Description
    String assetName
    String root
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    MakePathProjectAbsolute(String)

    Declaration
    public static string MakePathProjectAbsolute(string path)
    Parameters
    Type Name Description
    String path
    Returns
    Type Description
    String

    MakePathProjectRelative(String)

    Declaration
    public static string MakePathProjectRelative(string path)
    Parameters
    Type Name Description
    String path
    Returns
    Type Description
    String

    OpenPathPanel(String, PathType, String)

    Declaration
    public static string OpenPathPanel(string title, PathType pathType, string extension = "")
    Parameters
    Type Name Description
    String title
    PathType pathType
    String extension
    Returns
    Type Description
    String

    OpenPathPanel(String, PathType, String, String)

    Declaration
    public static string OpenPathPanel(string title, PathType pathType, string root, string extension = "")
    Parameters
    Type Name Description
    String title
    PathType pathType
    String root
    String extension
    Returns
    Type Description
    String

    PathField(SerializedProperty, GUIContent, PathType, String, Boolean)

    Declaration
    public static void PathField(SerializedProperty prop, GUIContent label, PathType pathType, string extension = "", bool pathMustExist = true)
    Parameters
    Type Name Description
    UnityEditor.SerializedProperty prop
    UnityEngine.GUIContent label
    PathType pathType
    String extension
    Boolean pathMustExist

    PathField(GUIContent, String, PathType, String, Boolean)

    Declaration
    public static string PathField(GUIContent label, string path, PathType pathType, string extension = "", bool pathMustExist = true)
    Parameters
    Type Name Description
    UnityEngine.GUIContent label
    String path
    PathType pathType
    String extension
    Boolean pathMustExist
    Returns
    Type Description
    String
    Build Automator 2 by QFSW
    Back to top