s&box docs

public static abstract sealed class Editor.EditorUtility.Mounting

Broader workflow and conceptual references connected to this API.

Methods

Showing 3 methods

public static Sandbox.Mounting.BaseGameMount Get(string name)

Get the mount

public static System.Threading.Tasks.Task Refresh(string name)

Flush this source to force a refresh. Unmount and re-mount, updating and getting a list of all the new files. This is used during development to force an update of the files, so you don't have to restart the editor.

public static System.Threading.Tasks.Task SetMounted(string name, bool state)

Set a mount state. This state will be saved in the project, and your game will require it if you publish it.

Metadata

FieldValue
Namespaceglobal
Typeclass
AssemblySandbox.Tools
Doc IDT:Editor.EditorUtility.Mounting

On this page