Search Results for

    Show / Hide Table of Contents

    Enum UnityPathType

    Specifies different types of paths used in Unity projects.

    Namespace: Glitch9
    Assembly: Glitch9.dll
    Syntax
    public enum UnityPathType

    Fields

    Name Description
    Absolute

    The path is an absolute path on the local file system. This is the only path that File can use to load files.

    AssetDatabase

    The path is relative to the project's UnityEngine.Application.dataPath. This is the only path that UnityEditor.AssetDatabase can use to load assets.

    ConsoleLog

    The path is relative to the project's UnityEngine.Application.consoleLogPath. This path is used to store log files that are generated by Unity. If a file is in this folder, you will have to use UnityEngine.Networking.UnityWebRequest to load it.

    PersistentData

    The path is relative to the project's UnityEngine.Application.persistentDataPath. This path is used to store data that should persist between app launches. If a file is in this folder, you will have to use UnityEngine.Networking.UnityWebRequest to load it.

    ResourcesLoad

    The path is relative to the project's UnityEngine.Application.dataPath + "/Resources". This is the only path that Load(string) can use to load assets.

    StreamingAssets

    The path is relative to the project's UnityEngine.Application.streamingAssetsPath. If a file is in this folder, you will have to use UnityEngine.Networking.UnityWebRequest to load it.

    TemporaryCache

    The path is relative to the project's UnityEngine.Application.temporaryCachePath. This path is used to store temporary data that does not need to persist between app launches. If a file is in this folder, you will have to use UnityEngine.Networking.UnityWebRequest to load it.

    Unknown

    The path is not set. Error will be thrown if you try to use this path.

    Url

    The path is a URL to a resource on the internet. Use UnityEngine.Networking.UnityWebRequest to load the files.

    Extension Methods

    TrTaskExtensions.TrDeferred<UnityPathType>(UnityPathType, Action<TrStringTask>)
    TrTaskExtensions.Tr<UnityPathType>(UnityPathType)
    EnumExtensions.HasAnyFlag<UnityPathType>(UnityPathType, UnityPathType?)
    EnumExtensions.ToFlagList<UnityPathType>(UnityPathType)
    EnumExtensions.ToFlagSet<UnityPathType>(UnityPathType)
    EnumExtensions.ToJoinedString<UnityPathType>(UnityPathType, char, char)
    EnumExtensions.ToLowerInvariantString<UnityPathType>(UnityPathType)
    EventExtensions.ToDelta<UnityPathType>(UnityPathType, string, int, string, bool)
    EventExtensions.ToDone<UnityPathType>(UnityPathType, string, int, string)
    EventExtensions.ToEvent<UnityPathType>(UnityPathType)
    EventExtensions.UpcastDelta<UnityPathType, T2>(UnityPathType, string, int, string, bool)
    ExperimentalAttributeExtensions.IsExperimental<UnityPathType>(UnityPathType)
    FallbackExtensions.IsOr<UnityPathType, TChild>(UnityPathType, TChild)
    ResponseCastingExtensions.GetResult<UnityPathType>(UnityPathType)
    LogMessageExtensions.GetDisplayedMessage<UnityPathType>(UnityPathType)
    LogMessageExtensions.GetLogMessage<UnityPathType>(UnityPathType)
    SystemExtensions.GetHashCodeOrDefault<UnityPathType>(UnityPathType)
    UnityPath.IsProjectPath(UnityPathType)
    RESTEnum.GetRESTEnum(Enum)
    InspectorNameUtils.GetInspectorName(Enum, string)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation