main menu

This commit is contained in:
MrTorex committed 2026-01-26 23:19:40 +03:00
1 parent 20db9b6e6e
commit b465de1bf7
54 files changed
+6777 -6

No files matched your search

@@ -0,0 +1,22 @@
using DG.Tweening;
using TMPro;
using UnityEngine;
namespace Code.UI
{
public class MainMenuController : MonoBehaviour
{
[SerializeField] private TMP_Text logotype;
private void Start()
{
AnimateLogo();
}
private void AnimateLogo()
{
logotype.transform.DOShakePosition(3, new Vector3(5, 5, 0)).SetLoops(-1, LoopType.Yoyo);
logotype.transform.DOShakeScale(7, new Vector3(0.5f, 1.2f, 0)).SetLoops(-1, LoopType.Yoyo);
}
}
}