Class: World
Lua
C++
Edit

World::Save

This method serializes the world to a file that can be loaded later. This can be used for saving the current game state, saving a scene created with a custom editor, or relaying the current game state to a new player who joins a multiplayer game.

Syntax

Parameter Description
path file path to save
flags optional save flags

Remarks

The save routine works with the entity component system to save your own C++ classes.

Copyright © 2024 Ultra Software.
All rights reserved.