PracProg/Assets/Scripts/Animations/GameOverAnim.cs
2021-02-04 19:49:39 +01:00

17 lines
326 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameOverAnim : MonoBehaviour
{
public GameObject medal;
public GameManager gameManager;
void OnGameOverAnimEnds()
{
medal.SetActive(true);
//draw the score
gameManager.DrawScore();
}
}