Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Enchancement: adds explicit constructors to easyiest setup save items…
Browse files Browse the repository at this point in the history
… from code;
  • Loading branch information
KonH committed Sep 24, 2018
1 parent 609cc6c commit 3c60258
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Scripts/Controllers/Save/Save.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ public class SaveItem {
/// </summary>
[Tooltip("Name of the instance in save file")]
public string Name;

public SaveItem() { }

public SaveItem(Type type, string name) {
Type = type;
Name = name;
}
}

/// <summary>
Expand Down

0 comments on commit 3c60258

Please sign in to comment.