Can Streamed Level Be Loaded#
Settings / Application / Can Streamed Level Be Loaded LevelIndex
Can Read
Cannot Write
Description#
Returns the execution of Can Streamed Level Be Loaded 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("Can Streamed Level Be Loaded")]
[Category("Settings/Application/Can Streamed Level Be Loaded", "LevelIndex")]
[Description("Returns the execution of Can Streamed Level Be Loaded static method on the Application class")]
[Image(typeof(IconCog), ColorTheme.Type.TextLight)]
[Keywords("App, Game, Settings, Configuration")]
[Serializable]
public class GenTypeBool_Application_CanStreamedLevelBeLoaded_1_IntLevelIndex : TypeBool
{
[SerializeField] private GetInteger m_LevelIndex = new GetInteger();
public override bool Get(Args args)
{
bool value = (bool) Application.CanStreamedLevelBeLoaded(
(int) this.m_LevelIndex.Get(args)
);
return value;
}
public override string ToString()
{
return $"Application Can Streamed Level Be Loaded ({this.m_LevelIndex})";
}
protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
}
}