Modelowanie_Wirtualnych_Swi.../Library/PackageCache/com.unity.timeline@1.5.4/Editor/Signals/Styles.cs
2021-07-09 23:35:24 +02:00

40 lines
3.0 KiB
C#

using UnityEngine;
namespace UnityEditor.Timeline.Signals
{
static class Styles
{
public static readonly GUIContent RetroactiveLabel = L10n.TextContent("Retroactive", "Use retroactive to emit this signal even if playback starts afterwards.");
public static readonly GUIContent EmitOnceLabel = L10n.TextContent("Emit Once", "Emit the signal once during loops.");
public static readonly GUIContent EmitSignalLabel = L10n.TextContent("Emit Signal", "Select which Signal Asset to emit.");
public static readonly GUIContent ObjectLabel = L10n.TextContent("Receiver Component on", "The Signal Receiver Component on the bound GameObject.");
public static readonly GUIContent CreateNewSignal = L10n.TextContent("Create Signal...");
public static readonly GUIContent AddSignalReceiverComponent = L10n.TextContent("Add Signal Receiver", "Creates a Signal Receiver component on the track binding and the reaction for the current signal.");
public static readonly GUIContent EmptySignalList = L10n.TextContent("None");
public static readonly GUIContent AddReactionButton = L10n.TextContent("Add Reaction");
public static readonly GUIContent NewSignalWindowTitle = L10n.TextContent("Create Signal Key");
public static readonly GUIContent NewSignalDefaultName = L10n.TextContent("New Signal");
public static readonly GUIContent NewSignalWindowMessage = L10n.TextContent("Create Signal Key");
public static readonly string SignalListDuplicateOption = L10n.Tr("Duplicate");
public static readonly string SignalListDeleteOption = L10n.Tr("Delete");
public static readonly string NoBoundGO = L10n.Tr("Track has no bound GameObject.");
public static readonly string MultiEditNotSupportedOnDifferentBindings = L10n.Tr("Multi-edit not supported for SignalReceivers on tracks bound to different GameObjects.");
public static readonly string MultiEditNotSupportedOnDifferentSignals = L10n.Tr("Multi-edit not supported for SignalReceivers when SignalEmitters use different Signals.");
public static readonly string UndoCreateSignalAsset = L10n.Tr("Create New Signal Asset");
public static readonly string UndoDuplicateRow = L10n.Tr("Duplicate Row");
public static readonly string UndoDeleteRow = L10n.Tr("Delete Row");
public static readonly string UndoAddReaction = L10n.Tr("Add Signal Receiver Reaction");
public static readonly string NoReaction = L10n.Tr("No reaction for {0} has been defined in this receiver");
public static readonly string NoSignalReceiverComponent = L10n.Tr("There is no Signal Receiver component on {0}");
public static readonly string ProjectHasNoSignalAsset = L10n.Tr("Your project contains no Signal assets");
//Icons
public static readonly GUIStyle OptionsStyle = DirectorStyles.GetGUIStyle("Icon.Options");
public static readonly GUIContent SignalEmitterIcon = EditorGUIUtility.IconContent("SignalEmitter Icon");
}
}