SaveScene /Scene and entities

bool SaveScene(string fileName)

Saves the current scene into a new scene file. All custom data stored in the entities (except objects) will be saved.

Deprecation alert! This function is deprecated and may soon be removed from scripting interface.

Warning! Loading scenes saved with this function currently work only on Windows.