You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
461 B
C#
24 lines
461 B
C#
3 months ago
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using D2D;
|
||
|
using D2D.Core;
|
||
|
using D2D.Utilities;
|
||
|
using D2D.Utils;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class LevelEffects : GameStateMachineUser
|
||
|
{
|
||
|
[SerializeField] private GameObject _winEffect;
|
||
|
[SerializeField] private GameObject _loseEffect;
|
||
|
|
||
|
protected override void OnGameWin()
|
||
|
{
|
||
|
_winEffect.On();
|
||
|
}
|
||
|
|
||
|
protected override void OnGameLose()
|
||
|
{
|
||
|
_loseEffect.On();
|
||
|
}
|
||
|
}
|