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

+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: f5f32fb49b3adc6b6975191ad4821c68
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -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);
}
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 843de3b4de9a5c40d85b190eba05478d