Trick is now pickup-able and is not scored by baskets
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user