/// <summary> /// Turns this save data into a deep copy of the one passed, given class constraints. /// </summary> public virtual void SetFrom(SaveData other) { this.sceneName = other.sceneName; }
/// <summary> /// Creates a copy of the passed SaveData. /// </summary> public SaveData(SaveData other) { SetFrom(other); }