Is Editor#
Settings / Application / Is Editor
Can Read
Cannot Write
Description#
The Is Editor 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 Editor")]
[Category("Settings/Application/Is Editor")]
[Description("The Is Editor static property of the Application class")]
[Image(typeof(IconCog), ColorTheme.Type.TextLight)]
[Keywords("App, Game, Settings, Configuration")]
[Serializable]
public class GenTypeBool_Application_IsEditor : TypeBool
{
public override bool GetPreview(GameObject source)
{
return Application.isEditor;
}
public override bool Get(Args args)
{
return Application.isEditor;
}
public override string ToString()
{
return $"Application Is Editor";
}
protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
}
}