17 lines
326 B
C#
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();
|
|||
|
}
|
|||
|
}
|