Skip to content
Snippets Groups Projects
Commit e78c1338 authored by Sven Gerlach's avatar Sven Gerlach
Browse files

Refactoring

parent ec11440e
No related branches found
No related tags found
No related merge requests found
...@@ -39,8 +39,9 @@ public void OnEnable() { ...@@ -39,8 +39,9 @@ public void OnEnable() {
public void ClearUI() { public void ClearUI() {
SetActor(string.Empty); SetActor(string.Empty);
SetText(string.Empty); SetText(string.Empty);
for (var i = 0; i < buttons.Length; i++) foreach (var button in buttons) {
buttons[i].visible = false; button.visible = false;
}
} }
public void SetActor(string actor) { public void SetActor(string actor) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment