fgm24/Assets/Scripts/Misc/MainMenuTransitionAnimation.cs

18 lines
338 B
C#

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");
}
}