Mini-Games-Game/Assets/Scripts/Catch/TouchFloor.cs
Santi 16784160a1 Catch - Added special object, bomb removes 3 score
CubeGravity - Added increased gravity to the special object
BoxTP_Catch - Added spcial object, more items spawn as timer goes down, at 0 game stops.
2024-07-15 16:41:49 +01:00

20 lines
411 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//* General Comments or Finished Tasks
//TODO Tasks left to be done for game
//! Bugs or Issues
//? Questions or Suggestions
public class TouchFloor : MonoBehaviour
{
void OnCollisionEnter(Collision collision)
{
if (collision.gameObject.tag == "Floor")
{
Destroy(gameObject);
}
}
}