Ejemplo n.º 1
0
    public static void MoveRooms()
    {
        //Vector3 tempCamPos = staticCameraCopy.transform.position;
        //tempCamPos.y -= distanceBetweenRooms;
        //staticCameraCopy.transform.position = tempCamPos;
        if (currentRoom == numberOfRoomsCopy && !WinScreen.executing)
        {
            winScreenCopy.Reset();
            TimeUpdater.running = false;
        }
        else if (!WinScreen.executing)
        {
            transitioning = true;
            staticCameraCopy.SetIsMoving(true);
        }

        if (currentRoom == 2)
        {
            sendCueLocationCopy.GetComponent <SendCueLocation> ().startClue = false;
        }

        if (currentRoom == 3)
        {
            sendCueLocationCopy2.GetComponent <SendCueLocation>().startClue = false;
        }
        //Vector3 tempWandPos = wandCopy.position;
        //tempWandPos.y -= distanceBetweenRooms;
        //wandCopy.position = tempWandPos;

        //Vector3 tempHatPos = playerHatCopy.position;
        //tempHatPos.y -= distanceBetweenRooms;
        //playerHatCopy.position = tempHatPos;

        //WandRigidBodyController.yOffset -= distanceBetweenRooms;
    }