// Copyright (c) Pixel Crushers. All rights reserved.
usingSystem;
usingUnityEngine;
namespacePixelCrushers.DialogueSystem
{
/// <summary>
/// This is a saver that saves the Dialogue System's save data
/// to the Pixel Crushers Common Library Save System.
/// </summary>
[AddComponentMenu("")]// Use wrapper.
publicclassDialogueSystemSaver:Saver
{
[Serializable]
publicclassRawData
{
publicbyte[]bytes;
}
[Tooltip("If data was restored immediately after loading a scene, don't apply it again after save system waits specified number of frames for other scripts to initialize.")]
[Tooltip("Save using raw data dump. If your database is extremely large, this method is faster but generates larger saved game data. If you use this option, use BinaryDataSerializer instead of JsonDataSerializer or data will be ridiculously large.")]