Skip to content

Commit

Permalink
new main
Browse files Browse the repository at this point in the history
  • Loading branch information
ricomiles committed Dec 11, 2023
1 parent e9e43e2 commit ba7feae
Show file tree
Hide file tree
Showing 68 changed files with 60,970 additions and 31,080 deletions.
19 changes: 19 additions & 0 deletions Assets/AfterBoss.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class AfterBoss : MonoBehaviour
{
[SerializeField] private GameObject afterMazeCollider;

public void StartAfterBoss(){
StartCoroutine(spawnAfterMazeCollider());
}
private IEnumerator spawnAfterMazeCollider(){
Debug.Log("kapoy");
yield return new WaitForSeconds(2f);
Debug.Log("kapoy");
afterMazeCollider.SetActive(true);

}
}
11 changes: 11 additions & 0 deletions Assets/AfterBoss.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions Assets/AfterMazeCollider.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class AfterMazeCollider : MonoBehaviour
{
[SerializeField] ObjectivesController objectivesController;
[SerializeField] GameObject teleporter;

private void OnTriggerEnter2D(Collider2D collider){
if(collider.tag == "Player"){
Debug.Log("tae");
objectivesController.ChangeObjective();
teleporter.SetActive(false);
gameObject.SetActive(false);
}
}
}
11 changes: 11 additions & 0 deletions Assets/AfterMazeCollider.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/Arts/Minigame.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
140 changes: 140 additions & 0 deletions Assets/Arts/Minigame/27515-2-portal-transparent-background.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ba7feae

Please sign in to comment.