-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maroon-399 Tools UI #409
base: develop
Are you sure you want to change the base?
Maroon-399 Tools UI #409
Changes from all commits
bf10f35
3971287
3224428
e6d5cbf
6e253a1
b3168ed
d0c46a6
d877e0e
ace744a
183596a
5b5e9e9
dd4c9c9
5c5df5b
8d22b81
c079147
150122f
a98bd1d
9f819b0
661aa15
4b83a11
f4a1c32
de1a627
f6157e9
7db4697
574490d
b4788ab
7d36e20
004e16c
cfd5289
fc3c55f
ad2bc77
6953b50
c8d282e
73d5799
f9697a6
b25269a
0910bce
d243b0c
2e0238b
c126883
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
// | ||
//Author: Tobias Stöckl | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please do not remove this file. This is used in the Optics experiment scene. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. renamed to ToggleToolUI.cs? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should be back again and work properly in the optics experiment |
||
// | ||
using UnityEngine; | ||
|
||
public class ToggleUIElement : MonoBehaviour | ||
|
@@ -10,9 +7,9 @@ public class ToggleUIElement : MonoBehaviour | |
private bool _isActive = true; | ||
|
||
|
||
public void ToggleElement() | ||
{ | ||
_isActive = !_isActive; | ||
UiElement.SetActive(_isActive); | ||
public void ToggleElement() | ||
{ | ||
_isActive = !_isActive; | ||
UiElement.SetActive(_isActive); | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this file used anywhere now? if not can it be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, but I can't seem to find out if this file is used anywhere?