private void Update() { if (isInLift && inputPressed && !isCoR && toTeleport && hasKey) { //Debug.Log("?"); StartCoroutine(TeleportCo()); } if (isCoR) { if (toOffice) { mc.BasementToLift(); } else { mc.LiftToOffice(); } } //else if (inputPressed) { // Debug.Log("elevate me"); // Debug.Log(isInLift); // Debug.Log(!isCoR); // Debug.Log(toTeleport); // Debug.Log(hasKey); //} }