Files
MinFt/Client/Assets/Scripts/Common/Timeline/DOTween/DOTweenRuntimeSelector.cs
Liubing\LB 3d8d4d18f3 first commit
先修复一下,错误的场景

删除不必要的钓场资产

修复into场景

update:更新meta文件,修复报错

update:修复资源

修复第一章节建造

修复建造第三章

update:删除多余内容

update:更新README.md

update:还原图标

update:更新README

update:更新配置
2026-04-28 02:17:22 +08:00

22 lines
710 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using UnityEngine;
namespace FT.Timeline
{
/// <summary>
/// 挂在 Timeline DOTween 轨道绑定对象(如 RectTransform 所在 GameObject
/// 供 DOTweenBehaviour 读取当前震动档位,只有 variantId 匹配的 Clip 会生效。
/// 播放前由业务代码设置 CurrentVariantId。
/// </summary>
public class DOTweenRuntimeSelector : MonoBehaviour
{
[Tooltip("当前震动档位,与 DOTween Clip 的 variantId 精确匹配时该 Clip 生效")]
[SerializeField] private int _currentVariantId;
public int CurrentVariantId
{
get => _currentVariantId;
set => _currentVariantId = value;
}
}
}