Succesfully removed model from theme

This commit is contained in:
CoudronJerome
2023-03-26 22:51:02 +02:00
parent 9f0f48e257
commit 2183397a0f
4 changed files with 6 additions and 10 deletions

View File

@@ -134,8 +134,8 @@ public class TemplateCourse : MonoBehaviour
maxWords = course.theme.learnables.Count;
// vvv TEMPORARY STUFF vvv
feedbackProgressBar.SetActive(course.theme.model != null);
previewMessage.SetActive(course.theme.model == null);
feedbackProgressBar.SetActive(course.theme.modelIndex != ModelIndex.NONE);
previewMessage.SetActive(course.theme.modelIndex == ModelIndex.NONE);
// Instead, the NONE-modelIndex points to Fingerspelling, which gives the same result
//feedback.signPredictor.model = previewModel;
// ^^^ TEMPORARY STUFF ^^^