Has User Authorization#
Settings / Application / Has User Authorization
Can Read
Cannot Write
Description#
Returns the execution of Has User Authorization static method on 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("Has User Authorization")]
[Category("Settings/Application/Has User Authorization")]
[Description("Returns the execution of Has User Authorization static method on the Application class")]
[Image(typeof(IconCog), ColorTheme.Type.TextLight)]
[Keywords("App, Game, Settings, Configuration")]
[Serializable]
public class GenTypeBool_Application_HasUserAuthorization_1 : TypeBool
{
[SerializeField] private UserAuthorization m_Mode = default;
public override bool Get(Args args)
{
bool value = (bool) Application.HasUserAuthorization(
this.m_Mode
);
return value;
}
public override string ToString()
{
return $"Application Has User Authorization ({this.m_Mode})";
}
protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
}
}