chore: initial commit

This commit is contained in:
2026-05-08 11:04:00 +08:00
commit f55d2a57c3
6278 changed files with 866081 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
// Animancer // https://kybernetik.com.au/animancer // Copyright 2018-2026 Kybernetik //
using System;
namespace Animancer
{
/// <summary>[Editor-Conditional]
/// Specifies a custom display label for the <c>Thresholds</c> column of a mixer transition.
/// </summary>
/// https://kybernetik.com.au/animancer/api/Animancer/ThresholdLabelAttribute
///
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Class | AttributeTargets.Struct, Inherited = true)]
[System.Diagnostics.Conditional(Strings.UnityEditor)]
public sealed class ThresholdLabelAttribute : Attribute
{
/************************************************************************************************************************/
#if UNITY_EDITOR
/// <summary>[Editor-Only] The label.</summary>
public readonly string Label;
#endif
/************************************************************************************************************************/
/// <summary>Creates a new <see cref="ThresholdLabelAttribute"/>.</summary>
public ThresholdLabelAttribute(string label)
{
#if UNITY_EDITOR
Label = label;
#endif
}
/************************************************************************************************************************/
}
}