コード例 #1
0
        protected override void SaveToFile()
        {
            string filePath = Path.Combine(FolderPath, name);

            FileStorageSystem.SaveAsBinary(filePath, currentValue);
        }
コード例 #2
0
        /// <summary>Saves value to local storage</summary>
        private void SaveToFile()
        {
            string filePath = Path.Combine(FolderPath, name);

            FileStorageSystem.SaveAsBinary(filePath, finished);
        }
コード例 #3
0
        public override void SaveToFile()
        {
            string filePath = Path.Combine(FolderPath, name);

            FileStorageSystem.SaveAsBinary(filePath, count);
        }
コード例 #4
0
        /// <summary>Saves the active state of this quest to local storage</summary>
        public void SaveActiveStateToFile()
        {
            string filePath = Path.Combine(FolderPath, name);

            FileStorageSystem.SaveAsBinary(filePath, isActive);
        }