From 59d168f550d8c314ab07ca5229ac7e007e8e39e3 Mon Sep 17 00:00:00 2001 From: joschi <joschi@mi.fu-berlin.de> Date: Mon, 28 Feb 2022 13:38:04 +0000 Subject: [PATCH] Update ExploreViewController.swift -- stone-anchor-filenames --- Lets Literate/ExploreViewController.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Lets Literate/ExploreViewController.swift b/Lets Literate/ExploreViewController.swift index c5ca79f..ce4711c 100755 --- a/Lets Literate/ExploreViewController.swift +++ b/Lets Literate/ExploreViewController.swift @@ -214,7 +214,7 @@ class ExploreViewController: UIViewController, ARSessionDelegate, UIAlertViewDel print("inTask1: no imageAnchor found") return } - if let imageName = imageAnchor.name, imageName == "stone_h_a" { //"demo_stone_texture02" - "stone_H_schwarz" + if let imageName = imageAnchor.name, imageName == "stone_H_schwarz" { //"demo_stone_texture02" - "stone_H_schwarz" print("Station Passwords - Task 1.1: stone for H anchor found") rkView.session.remove(anchor: imageAnchor) rkView.session.pause() @@ -224,7 +224,7 @@ class ExploreViewController: UIViewController, ARSessionDelegate, UIAlertViewDel self.task11_stone_to_use = "H" return } - if let imageName = imageAnchor.name, imageName == "stone_i_a" { //"demo_stone_texture03" - "stone_i_schwarz" + if let imageName = imageAnchor.name, imageName == "stone_i_schwarz" { //"demo_stone_texture03" - "stone_i_schwarz" print("Station Passwords - Task 1.1: stone for i anchor found") rkView.session.remove(anchor: imageAnchor) rkView.session.pause() @@ -234,7 +234,7 @@ class ExploreViewController: UIViewController, ARSessionDelegate, UIAlertViewDel self.task11_stone_to_use = "i" return } - if let imageName = imageAnchor.name, imageName == "stone_1_a" { //"demo_stone_texture05" - "stone_1_schwarz" + if let imageName = imageAnchor.name, imageName == "stone_1_schwarz" { //"demo_stone_texture05" - "stone_1_schwarz" print("Station Passwords - Task 1.1: stone for One anchor found") rkView.session.remove(anchor: imageAnchor) rkView.session.pause() @@ -244,7 +244,7 @@ class ExploreViewController: UIViewController, ARSessionDelegate, UIAlertViewDel self.task11_stone_to_use = "1" return } - if let imageName = imageAnchor.name, imageName == "stone_frage_a" { //"demo_stone_texture06" - "stone_Fragezeichen_schwarz" //"demo_stone_texture06" + if let imageName = imageAnchor.name, imageName == "stone_Fragezeichen_schwarz" { //"demo_stone_texture06" - "stone_Fragezeichen_schwarz" //"demo_stone_texture06" print("Station Passwords - Task 1.1: stone for questionmark anchor found") rkView.session.remove(anchor: imageAnchor) rkView.session.pause() -- GitLab