fgm24/Assets/Scripts/Misc/MainMenuTransitionAnimation.cs

18 lines
338 B
C#
Raw Normal View History

2024-02-03 00:34:11 +01:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MainMenuTransitionAnimation : MonoBehaviour
{
Animator animator;
private void Start()
{
animator = GetComponent<Animator>();
}
public void AnimationMainMenuStart()
{
animator.SetTrigger("Start");
}
}