Made items be still inside the presser
This commit is contained in:
@@ -39,22 +39,24 @@ namespace Fruitomation.Game.Items
|
||||
|
||||
private IEnumerator SendToGhostRealmInternal()
|
||||
{
|
||||
Sleep();
|
||||
CurrentChild.SetActive(false);
|
||||
Body2D.Sleep();
|
||||
|
||||
yield return new WaitForSeconds(0.5f);
|
||||
WakeUp();
|
||||
|
||||
CurrentChild.SetActive(true);
|
||||
Body2D.WakeUp();
|
||||
}
|
||||
|
||||
public void SendToTheGhostRealm() => StartCoroutine(SendToGhostRealmInternal());
|
||||
|
||||
public void Sleep()
|
||||
public void SendToLimbo()
|
||||
{
|
||||
CurrentChild.SetActive(false);
|
||||
Body2D.Sleep();
|
||||
}
|
||||
|
||||
public void WakeUp()
|
||||
public void HealLimboState()
|
||||
{
|
||||
CurrentChild.SetActive(true);
|
||||
Body2D.WakeUp();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user