Trick is now pickup-able and is not scored by baskets

This commit is contained in:
hz
2026-01-31 18:55:26 -06:00
parent c24846d568
commit 7d1b387d19
6 changed files with 86 additions and 6 deletions
+5
View File
@@ -10,6 +10,11 @@ public class BasketController : MonoBehaviour
if (collision.gameObject.CompareTag("Interactable"))
{
if (collision.gameObject.GetComponent<TrickController>() != null)
{
return;
}
scoreManager.AddPoints(1);
GameObject.Destroy(collision.gameObject);