/
TON618OFF
/
Unity-Project-RTU
Обзор
Документация
Войти
/
TON618OFF
/
Unity-Project-RTU
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Library/PackageCache/com.unity.visualscripting@1.9.4/Runtime/VisualScripting.Flow/Framework/Control/Break.cs
30 строк
692 B
TON618OFF
release
03 окт 2024, 22:20
03 окт 2024, 22:20
7c70e9f
Код
Авторство
О чём код?
namespace Unity.VisualScripting { /// <summary> /// Stops the execution of the current loop. /// </summary> [UnitTitle("Break Loop")] [UnitCategory("Control")] [UnitOrder(13)] public class Break : Unit { /// <summary> /// The entry point for the break. /// </summary> [DoNotSerialize] [PortLabelHidden] public ControlInput enter { get; private set; } protected override void Definition() { enter = ControlInput(nameof(enter), Operation); } public ControlOutput Operation(Flow flow) { flow.BreakLoop(); return null; } } }