Search found 6 matches

by alkord
Sun Aug 04, 2019 9:33 am
Forum: Dialogue System for Unity
Topic: Sources as Unity Package
Replies: 3
Views: 291

Re: Sources as Unity Package

Thanks for answer!
by alkord
Sun Aug 04, 2019 3:44 am
Forum: Dialogue System for Unity
Topic: Sources as Unity Package
Replies: 3
Views: 291

Sources as Unity Package

Hi!
How can I import Dialogue System as Unity Package instead of plugin?
I don't want to store external packages as own source code of project. But I want Unity to automatically download the package on first setup project.
by alkord
Sun Jul 21, 2019 4:15 am
Forum: Dialogue System for Unity
Topic: Save System slots and custom data
Replies: 5
Views: 961

Re: Save System slots and custom data

Save files separately, so as not to break the working. I created custom disk storer: public class SavedGameDataStorer : DiskSavedGameDataStorer { public override void StoreSavedGameData(int slot, SavedGameData save) { var slotData = save.GetData(SaveSystem.SlotDataKey); var filePath = GetSlotDataFil...
by alkord
Sun Jul 21, 2019 2:23 am
Forum: Dialogue System for Unity
Topic: Save System slots and custom data
Replies: 5
Views: 961

Re: Save System slots and custom data

Wow, thanks!
I will definitely try this. It looks most logical.
by alkord
Sat Jul 20, 2019 5:38 am
Forum: Dialogue System for Unity
Topic: Save System slots and custom data
Replies: 5
Views: 961

Re: Save System slots and custom data

I created custom saver public class SlotDataParser { private readonly DataContractJsonSerializer serializer = new DataContractJsonSerializer(typeof(SlotData)); public string Serialize(SlotData data) { var stream = new MemoryStream(); try { serializer.WriteObject(stream, data); var json = stream.ToAr...
by alkord
Sat Jul 20, 2019 3:43 am
Forum: Dialogue System for Unity
Topic: Save System slots and custom data
Replies: 5
Views: 961

Save System slots and custom data

Hello!
How can I load (and save) custom data from every slots (like save time, game time, player level etc) for display in load menu? See example.