API ReferenceSandbox
public abstract interface Sandbox.IGameInstance
Todo: make internal - the only thing using ir right now is the binds system
Methods
Showing 5 methods
public virtual string GetBind(string actionName, bool isDefault, bool isCommon)
public virtual void ResetBinds()
public virtual void SaveBinds()
public virtual void SetBind(string actionName, string buttonName)
public virtual void TrapButtons(System.Action`1<string[]> callback)
No results match this filter.
Properties
Showing 3 properties
public static Sandbox.IGameInstance Sandbox.IGameInstance.Current { get; set; }
public virtual bool Sandbox.IGameInstance.IsLoading { get; set; }
True after the game is fully loaded
public virtual Sandbox.Scene Sandbox.IGameInstance.Scene { get; set; }
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.IGameInstance |