[TASK] Added main "game manager" to switch between the minigame and the map + added simple UI to show that a sticker was collected
This commit is contained in:
20
Assets/DuckCollectedFailedScreen.cs
Normal file
20
Assets/DuckCollectedFailedScreen.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
|
||||
public class DuckCollectedFailedScreen : MonoBehaviour
|
||||
{
|
||||
public UnityEvent retryButtonClicked;
|
||||
public UnityEvent cancelButtonClicked;
|
||||
|
||||
public void OnRetryButtonClicked()
|
||||
{
|
||||
retryButtonClicked?.Invoke();
|
||||
}
|
||||
|
||||
public void OnCancelButtonClicked()
|
||||
{
|
||||
cancelButtonClicked?.Invoke();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user