Skip to main content

PlayerSaveFileData2

A class in Root.Township, Alta.Utilities.

Version 2 of the saved player position and home. Migrating moves anyone out of four old areas to the original spawn point.

Constructors​

MemberWhat it is
PlayerSaveFileData2()Creates a PlayerSaveFileData2 with default values.

Fields​

MemberWhat it is
Vector3 homeSaved home position.
Vector3 positionSaved player position.

Methods​

MemberWhat it is
override SaveData Migrate()Converts to the current PlayerSaveFileData. A home inside one of four old 96 by 96 areas moves to the original spawn point, and a position there moves to home.