/
TON618OFF
/
Unity-Project-RTU
Обзор
Документация
Войти
/
TON618OFF
/
Unity-Project-RTU
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Library/PackageCache/com.unity.visualscripting@1.9.4/Editor/VisualScripting.Flow/Events/EventUnitDescriptor.cs
24 строки
606 B
TON618OFF
release
03 окт 2024, 22:20
03 окт 2024, 22:20
7c70e9f
Код
Авторство
О чём код?
using System.Collections.Generic; namespace Unity.VisualScripting { [Descriptor(typeof(IEventUnit))] public class EventUnitDescriptor<TEvent> : UnitDescriptor<TEvent> where TEvent : class, IEventUnit { public EventUnitDescriptor(TEvent @event) : base(@event) { } protected override string DefinedSubtitle() { return "Event"; } protected override IEnumerable<EditorTexture> DefinedIcons() { if (unit.coroutine) { yield return BoltFlow.Icons.coroutine; } } } }