예제 #1
0
    public static void MoveToMainRoom()
    {
        Vector3 tempCamPos = staticCameraCopy.transform.position;

        tempCamPos.y = 7.5f;
        staticCameraCopy.transform.position    = tempCamPos;
        staticCameraCopy.transform.eulerAngles = new Vector3(0, 0, 0);

        Vector3 tempHatPos = playerHatCopy.transform.position;

        tempHatPos.y = 6.5f;
        playerHatCopy.transform.position = tempHatPos;

        Vector3 tempWandPos = wandCopy.position;

        tempWandPos.y        = 7.5f;
        wandCopy.position    = tempWandPos;
        wandCopy.eulerAngles = new Vector3(0, 0, 0);

        WandRigidBodyController.yOffset = 5f;

        staticCameraCopy.ResetInitialPos();
        currentRoom = initialRoom;
    }