Add scene transitions
This commit is contained in:
15
Assets/Scripts/Animation/LevelChanger.cs
Normal file
15
Assets/Scripts/Animation/LevelChanger.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Scampz.GameJam
|
||||
{
|
||||
public class LevelChanger : MonoBehaviour
|
||||
{
|
||||
[SerializeField]
|
||||
private Animator animator;
|
||||
|
||||
public void FadeAnimation()
|
||||
{
|
||||
//animator.SetTrigger("FadeOut");
|
||||
}
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Animation/LevelChanger.cs.meta
Normal file
11
Assets/Scripts/Animation/LevelChanger.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e1dc86bbd94602841978d59aadff3442
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user