Documentation index for AI agents (llms.txt) A Markdown version of every page is available: request the page's source under /docs/, follow the "alternate" link in this page's head, or start from /llms.txt.
Visual Script logo Manual

Saved Game Date#

Save & Load / Saved Game Date

  • Can Read

  • Cannot Write

Description#

The date of the game saved at a specific profile slot

Code#

using System;
using UnityEngine;
using VisualScript.Icons;

namespace VisualScript.Runtime
{
    [Get]
    
    [Title("Saved Game Date")]
    [Category("Save & Load/Saved Game Date")]
    
    [Description("The date of the game saved at a specific profile slot")]
    [Image(typeof(IconDiskSolid), ColorTheme.Type.Lime)]
    
    [Keywords("Save", "Load", "Date", "Time", "Slot")]
    
    [Serializable]
    public class TypeStringSaveProfileDate : TypeString
    {
        [SerializeField] private GetInteger m_Profile = new GetInteger();
        
        public override string Get(Args args)
        {
            int profile = this.m_Profile.GetInt(args);
            return SaveLoadManager.GetProfileDate(profile);
        }

        public override string ToString()
        {
            return $"Save Date at {this.m_Profile}";
        }

        protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
    }
}
Visual Script logoVisual Script © Catsoft Works 2026. All rights reserved.