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 LoadWorld (string worldPath)
 
proto external bool SaveWorld ()
 
proto external bool SaveWorldAs (string savePath, bool overridePath=false)
 If overrideWorld is true, and if the path already exists it will be overridden.
 
proto external bool CreateNewSubsceneWorld ()
 
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

◆ CreateNewSubsceneWorld()

proto external bool GameWorldEditor.CreateNewSubsceneWorld ( )

◆ GetEditorAPI()

proto external WorldEditorAPI GameWorldEditor.GetEditorAPI ( )

◆ LoadWorld()

proto external bool GameWorldEditor.LoadWorld ( string  worldPath)

◆ Redo()

proto external void GameWorldEditor.Redo ( )

◆ SaveWorld()

proto external bool GameWorldEditor.SaveWorld ( )

◆ SaveWorldAs()

proto external bool GameWorldEditor.SaveWorldAs ( string  savePath,
bool  overridePath = 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: