Navigation
API > API/Plugins > API/Plugins/FileSandboxCore > API/Plugins/FileSandboxCore/ISandboxManager
Description
Gets the currently active global sandbox instance.
The name “global” sandbox instance was chosen with the idea that, in the future, we may support directory bindings where only specific directories are sandboxed. For now (5.8), there can be at most one sandbox instance.
Do not keep any raw reference to ISandboxInstance as it turns stale when the sandbox is shutdown.
| Name | GetActiveSandboxInstance |
| Type | function |
| Header File | /Engine/Plugins/Developer/Sandbox/FileSandbox/Source/FileSandboxCore/Public/ISandboxManager.h |
| Include Path | #include "ISandboxManager.h" |
ISandboxInstance * GetActiveSandboxInstance() const
See Also
-
FWeakSandboxPtr
-
GetGlobalSandboxInstance.