Animated MiSide like text
This commit is contained in:
1 parent
3678d039e3
commit
39df8b3d76
769 files changed
+263431
-91342
No files matched your search
@@ -0,0 +1,25 @@
|
||||
using Code.Infrastructure.Generators;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.AddressableAssets;
|
||||
|
||||
namespace Code.Game.OfficeGame.Text
|
||||
{
|
||||
[CreateAssetMenu(fileName = "AnimatedTextSettings", menuName = "Configs/UI/AnimatedTextSettings")]
|
||||
[Config("Configs/UI/AnimatedTextSettings")]
|
||||
public class AnimatedTextSettings : ScriptableObject
|
||||
{
|
||||
[Tooltip("Префаб с компонентами TMP_Text и AnimatedTextView")]
|
||||
public AssetReference TextPrefab;
|
||||
|
||||
[Header("Default Layout")]
|
||||
public Vector2 DefaultRectSize = new(4f, 1.5f); // Подберите под масштаб вашего WorldSpace Canvas
|
||||
|
||||
[Header("Default Animation")] public float DefaultLetterDelay = 0.04f;
|
||||
public float FallDistance = 0.8f; // Смещение в локальных единицах TMP_Text
|
||||
public float MaxFallRotationAngle = 25f;
|
||||
|
||||
[Header("Pool")] public int InitialPoolCapacity = 16;
|
||||
public int MaxPoolSize = 64;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user