Can Streamed Level Be Loaded#
Application / Can Streamed Level Be Loaded LevelName
Description#
Compares the Can Streamed Level Be Loaded static method of Application class to another value
Parameters#
| Name | Description |
|---|---|
| Level Name |
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
{
[Title("Can Streamed Level Be Loaded")]
[Category("Application/Can Streamed Level Be Loaded", "LevelName")]
[Description("Compares the Can Streamed Level Be Loaded static method of Application class to another value")]
[Image(typeof(IconCog), ColorTheme.Type.TextLight)]
[Keywords("App, Game, Settings, Configuration")]
[Parameter("Level Name")]
[Serializable]
public class GenConditionBool_Application_CheckCanStreamedLevelBeLoaded_1_StringLevelName : Condition
{
[SerializeField] private GetString m_LevelName = new GetString();
protected override string GetTitle(GameObject source)
{
string className = TextUtils.ThemeAsKeyword("Application");
string method = TextUtils.ThemeAsKeyword("Can Streamed Level Be Loaded");
return $"{className} {method} ({this.m_LevelName})";
}
protected override bool Run(Args args)
{
bool value = Application.CanStreamedLevelBeLoaded(
(string) this.m_LevelName.Get(args)
);
return value;
}
}
}