private void Start() { ObjectStartingPoints.ResetAllObjects += makeTotalPickupsZero; redPickup.SetActive(false); BluePickup.SetActive(false); WinningPortal.SetActive(false); }
private void areThereTwoPickups() { if (totalPickups == 2) { print("YOU GOT BOTH PICKUPS!!!"); WinningPortal.SetActive(true); } }
private void makeTotalPickupsZero() { totalPickups = 0; WinningPortal.SetActive(false); }