3DTD/Assets/PlayButtonAnimation.cs

27 lines
444 B
C#

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