Is Loading#
Save & Load / Is Loading
Can Read
Cannot Write
Description#
Returns true if it is currently loading a saved game
Code#
using System;
using VisualScript.Icons;
namespace VisualScript.Runtime
{
[Get]
[Title("Is Loading")]
[Category("Save & Load/Is Loading")]
[Description("Returns true if it is currently loading a saved game")]
[Image(typeof(IconDiskOutline), ColorTheme.Type.Blue, typeof(BadgeSync))]
[Keywords("Save", "Load", "Slot")]
[Serializable]
public class TypeBoolIsSaveLoading : TypeBool
{
public override bool Get(Args args)
{
return SaveLoadManager.IsLoading;
}
public override string ToString()
{
return "Is Loading";
}
}
}