|
Enfusion Script API
|
Generic ingame editor implementation. More...
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) | |
Generic ingame editor implementation.
| proto external WorldEditorAPI GameWorldEditor.GetEditorAPI | ( | ) |
| proto external void GameWorldEditor.Redo | ( | ) |
| proto external bool GameWorldEditor.SaveWorld | ( | ) |
| savePath | Can 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 |
| proto external void GameWorldEditor.SwitchToEditMode | ( | ) |
| proto external bool GameWorldEditor.SwitchToGameMode | ( | ResourceName | worldSystemsConfig | ) |
| proto external void GameWorldEditor.Undo | ( | ) |