Skip to content

T_MSCLoader_SaveLoad

piotrulos edited this page Oct 8, 2021 · 4 revisions

SaveLoad Class

Save and Load Class for gameobject and custom class

Inheritance Hierarchy

System.Object
  MSCLoader.SaveLoad
Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.2.0.239

Syntax

C#

public class SaveLoad

View Source
The SaveLoad type exposes the following members.

Methods

 

Name Description
Public methodStatic member DeserializeSaveFile(T) Deserialize custom save class (see example)
Public methodStatic member LoadGameObject Load position and rotation of single gameobject from file Call this AFTER you load your gameobject
Public methodStatic member SaveGameObject Save position and rotation of single gameobject to file (DO NOT loop this for multiple gameobjects) Call this in OnSave() function
Public methodStatic member SerializeSaveFile(T) Serialize custom save class (see example) Call Only in OnSave()
  Back to Top

See Also

Reference

MSCLoader Namespace

Clone this wiki locally