Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
GameWorldEditor Interface Reference
Inheritance diagram for GameWorldEditor:
[legend]

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 ()
 
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)
 

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 ( )

◆ Undo()

proto external void GameWorldEditor.Undo ( )

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