Made fans OP for playtest
This commit is contained in:
@@ -112,7 +112,7 @@ namespace Fruitomation.Game.Items
|
||||
|
||||
private void FixedUpdate()
|
||||
{
|
||||
if (IsNotWithinCanvas(RectTransform, AttachedCanvas.GetComponent<RectTransform>()))
|
||||
if (IsNotWithinCanvas(RectTransform, FruitSpawner.Bounds))
|
||||
{
|
||||
TriggerDestruction();
|
||||
}
|
||||
@@ -145,8 +145,8 @@ namespace Fruitomation.Game.Items
|
||||
}
|
||||
|
||||
return
|
||||
!(bMin > (aMin - 1f)) ||
|
||||
!(bMax < (aMax + 1f));
|
||||
!(bMin > (aMin)) ||
|
||||
!(bMax < (aMax));
|
||||
}
|
||||
|
||||
public void TriggerDestruction(bool harvest = true)
|
||||
|
||||
Reference in New Issue
Block a user