SFX added

This commit is contained in:
2023-08-06 16:46:05 +05:30
parent a0ebd1d3f3
commit 50a2bec854
61 changed files with 35177 additions and 34198 deletions

View File

@@ -1,14 +1,14 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NearMiss : MonoBehaviour
{
void OnTriggerExit2D(Collider2D other){
if(PlayerController.instance.PowerupActive){return;}
if(other.tag == "asteroid"){
DataManager.AddItem("add_near_miss.php");
PlayerController.NearMissFX();
}
}
}
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NearMiss : MonoBehaviour
{
void OnTriggerExit2D(Collider2D other){
if(PlayerController.instance.PowerupActive){return;}
if(other.tag == "asteroid"){
DataManager.AddItem("add_near_miss.php");
PlayerController.NearMissFX();
}
}
}