Code refactor, added coins chests, key chest and door

This commit is contained in:
2023-06-22 13:58:20 +03:00
parent 30a51d96f7
commit b2cf8fde92
18 changed files with 359 additions and 63 deletions
+13
View File
@@ -0,0 +1,13 @@
using Assets.Scripts;
using UnityEngine;
public class Door : MonoBehaviour,IDoor
{
public void OpenDoor()
{
//PlayOpenAnimation
//Disable box collider
gameObject.GetComponent<BoxCollider2D>().enabled=false;
}
}