Enfusion Script API
Loading...
Searching...
No Matches
GameWorldEditor Interface Reference

Generic ingame editor implementation. More...

Inheritance diagram for GameWorldEditor:
Managed

Public Member Functions

proto external WorldEditorAPI GetEditorAPI ()
 
proto external bool SaveWorld ()
 
proto external bool SaveWorldAs (string savePath, bool overridePath=false)
 
proto external void Undo ()
 
proto external void Redo ()
 
proto external bool SwitchToGameMode (ResourceName worldSystemsConfig)
 
proto external void SwitchToEditMode ()
 
- Public Member Functions inherited from Managed
proto external ref Managed Clone ()
 Return shallow copy of object, or null if it is not allowed (not public constructor)
 

Detailed Description

Generic ingame editor implementation.

Member Function Documentation

◆ GetEditorAPI()

proto external WorldEditorAPI GameWorldEditor.GetEditorAPI ( )

◆ Redo()

proto external void GameWorldEditor.Redo ( )

◆ SaveWorld()

proto external bool GameWorldEditor.SaveWorld ( )

◆ SaveWorldAs()

proto external bool GameWorldEditor.SaveWorldAs ( string savePath,
bool overridePath = false )
Parameters
savePathCan have max 256 characters, if there are more than 256 characters it will return false. If overrideWorld is true, and if the path already exists it will be overridden

◆ SwitchToEditMode()

proto external void GameWorldEditor.SwitchToEditMode ( )

◆ SwitchToGameMode()

proto external bool GameWorldEditor.SwitchToGameMode ( ResourceName worldSystemsConfig)

◆ Undo()

proto external void GameWorldEditor.Undo ( )

The documentation for this interface was generated from the following file: