MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Save

Method Save

Source/Editor/ProjectInfo.cs:222–226  ·  view source on GitHub ↗

Saves the project file.

()

Source from the content-addressed store, hash-verified

220 /// Saves the project file.
221 /// </summary>
222 public void Save()
223 {
224 var contents = FlaxEngine.Json.JsonSerializer.Serialize(this);
225 File.WriteAllText(ProjectPath, contents);
226 }
227
228 /// <summary>
229 /// Loads the project from the specified file.

Callers 3

InitProjectMethod · 0.45
SaveContentMethod · 0.45
BuildAllMeshesSDFMethod · 0.45

Calls 2

WriteAllTextMethod · 0.80
SerializeMethod · 0.45

Tested by

no test coverage detected