3DTD/Assets/PlayButtonAnimation.cs

27 lines
444 B
C#
Raw Normal View History

2024-04-21 12:55:02 +02:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Animations;
public class PlayButtonAnimation : MonoBehaviour
{
public Animator anim;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
public void StopAnimation()
{
anim.SetBool("Clicked", true);
}
}