Mountingclass

objectMounting
Namespace
global
Assembly
Sandbox.Tools
Declaration
public static abstract sealed class Editor.EditorUtility.Mounting

Methods3

Showing 3 methods

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

Get the mount

ParameterTypeDescription
namestring
Returns:BaseGameMount

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

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.

ParameterTypeDescription
namestring
Returns:Task

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

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

ParameterTypeDescription
namestring
statebool
Returns:Task

On this page