Added new prefabs
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Fruitomation.Game
|
||||
[SerializeField] private Collider2D BottomCollider;
|
||||
[SerializeField] private TriggerDetector EffectTrigger;
|
||||
|
||||
private HashSet<GameObject> CurrentContainedObjects = new();
|
||||
private readonly HashSet<GameObject> CurrentContainedObjects = new();
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
@@ -32,7 +32,6 @@ namespace Fruitomation.Game
|
||||
{
|
||||
if (other.transform.parent.TryGetComponent(out Rigidbody2D body))
|
||||
{
|
||||
Debug.Log(body.name);
|
||||
body.AddForce(Vector3.down * 5f, ForceMode2D.Force);
|
||||
}
|
||||
}, TriggerType.Stay);
|
||||
|
||||
Reference in New Issue
Block a user