Is Playing#
Settings / Application / Is Playing
Can Read
Cannot Write
Description#
The Is Playing static property of the Application class
Code#
// <auto-generated>
// This script was automatically generated using the Visual Script Transpiler.
// Do not modify. Changes to this file will be lost when updating the package.
// </auto-generated>
using System;
using UnityEngine;
using VisualScript.Icons;
namespace VisualScript.Runtime
{
[Get]
[Title("Is Playing")]
[Category("Settings/Application/Is Playing")]
[Description("The Is Playing static property of the Application class")]
[Image(typeof(IconCog), ColorTheme.Type.TextLight)]
[Keywords("App, Game, Settings, Configuration")]
[Serializable]
public class GenTypeBool_Application_IsPlaying : TypeBool
{
public override bool GetPreview(GameObject source)
{
return Application.isPlaying;
}
public override bool Get(Args args)
{
return Application.isPlaying;
}
public override string ToString()
{
return $"Application Is Playing";
}
protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
}
}