Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bošániová Monika
Rubics_cube
Commits
4e446437
Commit
4e446437
authored
Jul 13, 2021
by
Bošániová Monika
Browse files
Bug fixed
parent
58e5d89b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Assets/Scripts/SolveTwoFace.cs
View file @
4e446437
...
...
@@ -83,16 +83,20 @@ public class SolveTwoFace : MonoBehaviour
////Automate the list
//Automate.shuffleDone = false;
//Automate.setAutomateList(new List<string> { "F" } );
Automate
.
setAutomateList
(
solutionList
);
Automate
.
actualPosition
=
0
;
Automate
.
AutomatePlaying
=
true
;
if
(
info
==
"Error"
)
if
(
solutionList
.
Count
>
0
&&
solutionList
[
0
]
==
"Error"
)
{
errorMsgBox
.
text
=
"Cube is not solvable!"
;
}
else
{
Automate
.
setAutomateList
(
solutionList
);
Automate
.
actualPosition
=
0
;
Automate
.
AutomatePlaying
=
true
;
}
print
(
"solution:"
+
solution
);
print
(
info
);
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment