SaveGame.LoadInto
Description
Loads the data and outputs the loaded data to the specified value.
Parameters
Name | Type | Description | Required |
---|---|---|---|
identifier | string | The identifier | required |
value | object | The value to load data into. The loaded data will output to the fields and properties of the value. | required |
settings | SaveGameSettings | The optional settings | optional |
Examples
Loading Tranform
SaveGame.LoadInto ( "myTransform.txt", myTransform );
Loading GameObject
SaveGame.LoadInto ( "targetGameObject.txt", targetGameObject );