public void Pop() { foreach (ParticleSystem p in GetComponentsInChildren <ParticleSystem>()) { p.Play(); } End(); PlaymodeManager.mode = PlaymodeManager.Mode.paused; PickupableManager.Pause(); }
public void StartEnd() { if (mode == Mode.paused) { mode = Mode.playing; } else { mode = Mode.paused; } if (mode == Mode.paused) { PickupableManager.Pause(); } }
public void Reset() { mode = Mode.paused; PickupableManager.ResetPositions(); }