Near finish

This commit is contained in:
2023-07-30 23:14:41 +05:30
parent 1569760e7b
commit 400336ef4f
1979 changed files with 1696464 additions and 301 deletions

View File

@@ -0,0 +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();
}
}
}