/
TON618OFF
/
Unity-Project-RTU
Обзор
Документация
Войти
/
TON618OFF
/
Unity-Project-RTU
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Library/PackageCache/com.unity.timeline@1.7.6/Editor/Attributes/ActiveInModeAttribute.cs
26 строк
797 B
TON618OFF
release
03 окт 2024, 22:20
03 окт 2024, 22:20
7c70e9f
Код
Авторство
О чём код?
using System; namespace UnityEditor.Timeline.Actions { /// <summary> /// Define the activeness of an action depending on its timeline mode. /// </summary> /// <seealso cref="TimelineModes"/> [AttributeUsage(AttributeTargets.Class)] public class ActiveInModeAttribute : Attribute { /// <summary> /// Modes that will be used for activeness of an action. /// </summary> public TimelineModes modes { get; } /// <summary> /// Defines in which mode the action will be active. /// </summary> /// <param name="timelineModes">Modes that will define activeness of the action.</param> public ActiveInModeAttribute(TimelineModes timelineModes) { modes = timelineModes; } } }