Search Results for

    Show / Hide Table of Contents

    Class UnityGame

    Provides some basic utility methods and properties of Beat Saber

    Inheritance
    Object
    UnityGame
    Namespace: IPA.Utilities
    Assembly: IPA.Loader.dll
    Syntax
    public static class UnityGame : object

    Properties

    | Improve this Doc View Source

    GameVersion

    Provides the current game version.

    Declaration
    public static AlmostVersion GameVersion { get; }
    Property Value
    Type Description
    AlmostVersion

    the SemVer version of the game

    | Improve this Doc View Source

    InstallPath

    Gets the path to the game's install directory.

    Declaration
    public static string InstallPath { get; }
    Property Value
    Type Description
    String

    the path of the game install directory

    | Improve this Doc View Source

    LibraryPath

    The path to the Libs folder. Use only if necessary.

    Declaration
    public static string LibraryPath { get; }
    Property Value
    Type Description
    String

    the path to the library directory

    | Improve this Doc View Source

    NativeLibraryPath

    The path to the Libs\Native folder. Use only if necessary.

    Declaration
    public static string NativeLibraryPath { get; }
    Property Value
    Type Description
    String

    the path to the native library directory

    | Improve this Doc View Source

    OnMainThread

    Checks if the currently running code is running on the Unity main thread.

    Declaration
    public static bool OnMainThread { get; }
    Property Value
    Type Description
    Boolean

    true if the curent thread is the Unity main thread, false otherwise

    | Improve this Doc View Source

    PluginsPath

    The directory to load plugins from.

    Declaration
    public static string PluginsPath { get; }
    Property Value
    Type Description
    String

    the path to the plugin directory

    | Improve this Doc View Source

    ReleaseType

    Gets the UnityGame.Release type of this installation of Beat Saber

    Declaration
    public static UnityGame.Release ReleaseType { get; }
    Property Value
    Type Description
    UnityGame.Release

    the type of release this is

    Remarks

    This only gives a

    | Improve this Doc View Source

    UserDataPath

    The path to the UserData folder.

    Declaration
    public static string UserDataPath { get; }
    Property Value
    Type Description
    String

    the path to the user data directory

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX