Dossier complet

This commit is contained in:
2025-01-17 13:04:56 +01:00
commit 649efce666
15116 changed files with 970754 additions and 0 deletions

13
Droid 2/Assets/Rocket.cs Normal file
View File

@@ -0,0 +1,13 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Rocket : MonoBehaviour
{
private void OnTriggerEnter(Collider other)
{
if(other.tag != "Player" && other.tag != "Floor")
Destroy(other.gameObject); // Détruit l'obstacle
}
}