Text in UI disappears when clicked on - unity3d

I have a UI system I built for the game. In editor, it works perfectly. But when the game is compiled to an executable and ran, the initial menu text will be invisible unless I switch to a sub menu and switch back
Conversely, the text in a sub menu will disappear whenever I switch quality level using a button. It comes back if I switch menus. Any ideas as to why this is happening?
Menu before clicking Quality Level
Menu after clicking Quality Level

Related

Can not click on an UI element in editor mode in Unity

Usually you can click on an UI element (which is placed inside the canvas) in editor mode and the clicked element highlighted in the project hierarchy and you can see its properties in inspector. And it works this way if I create a new project.
But in my current project I can't click on any elemnt in canvas in editor mode because it's not responsive.
For example I have a button, I can click on it in Play mode, but it's not responsive in Editor mode. I mean if I click on it in editor mode nothing occurs (there is no highlighted object appears in hierarchy and I need to searching for this button in hierarchy by myself to open its properties in inspector)
This is incredibly annoying me.
Here is my button inside the canvas
Here is the button settings
Here is the canvas settings
Here is the event system settings:
Gizmos option need to be active

Window NSMenu adding extra NSMesnuItems (Swift, macOS)

I deleted all the menu items from the Window NSMenu except Minimize and Bring All to Front. However, when I run the app, three more menu items get added: Move Window to Left Side of Screen, Move Window to Right Side of Screen and Enter Full Screen. How do I remove these menu items? Has it got something to do with the attribute inspector of my Window (just a guess)?
For reference:

How to activate all hidden gameObjects in Unity

I'm making a menu for a game in unity. I have created text and buttons which have functions that open panels with more options in the menu. For example, click on the options button and a new box will appear, which has been hidden by unticking the box in the top left of inspector of that object and using the setActive boolean, on click to activate it during run time.
The program works perfectly. However, if I want to edit the object that is hidden when editing the menu in unity, I have to tick the box top left in the inspector to therefore see it. This is only a minor problem however, if I want to run the program to check for errors I need to find each and every object that has to be unticked again.
Is there a way of seeing that object without me re-ticking the box in the editor of unity as I can see mistakes being made as I implement more boxes?
In the void Start() you should deactivate that UI:
void Start()
{
text1.setActive(false);
img2.setActive(false);
//and so on
}
In this way, you can have all objects activated in the scene when you are trying or modifying them it will not cause problems at the start of the program.

Eclipse Outline view is hiding code

I'm using the Kepler CDT release (4.3.1) of Eclipse. When I click on anything in the Outline view, the corresponding editor view is reduced to showing just that item. If I click on a variable, I get a single line with just that variable. The Edit->Expand Selection options are all dimmed out. Hitting Shift-Alt-Up Arrow just moves me up to the previous item in the outline view. If I change editor tabs and come back then the Expand Selection options enable and I can manually hit Shift-Alt-Up Arrow a number of times to make the entire file visible again but clicking on anything in the outline view again will just reduce the view. Is there some new setting in Kepler that will make outline stop doing this?
Turns out the feature for Show Source of Selected Element Only was turned on. In Kepler the toolbar button for this is not visible. Even searching under quick access doesn't turn it up so it's somewhat of a puzzle how it could have been turned on. I actually thought maybe it had been removed from Kepler.
In the Customize Perspective dialog under the Tool Bar Visibility tab. In the Tool Bar Structure section I opened the area for Editor Presentation. I noticed there was actually a check next to the box for Show Source of Selected Element Only. However, it wasn't visible in the toolbar (a bug I've seen before in Eclipse) so I unchecked it and checked it. Then I exited the dialog. Now the button showed up on the toolbar. I then toggled the feature on and then off. Now clicking in the outline view works correctly.just moves to the correct spot.

How can I enable vertical split views in the Xcode IDE?

I'm diving into iOS development and I'm using Xcode on a multi-monitor setup.
Obviously I want to take advantage of the multiple monitors to view and edit multiple panes of source code, but I'm having a hard time figuring out how to enable vertical split views. In other IDEs, it's just an option you click in the "Window" menu.
How do I enable vertical split views in Xcode?
Xcode 4
Check out the options in the Navigate file menu item. I like Command+J. Also, while the Editor is active, i.e., you're editing code or your cursor is blinking in the Editor, press Command+Option+,. Or, you can Option-click (or Option+Shift-click) a file in the Navigator. Then, to make more room for editing, I like to press Command+0 to hide the Navigator and, if they're not already hidden, Command+Option+0 to hide the Utilities. Press Command+Enter to go back to the Standard Editor view.
Xcode 3
Hold down alt and click the little tiny box (with a horizontal line through it) in the upper-right-hand corner of the screen. It's underneath the tiny little lock icon.
Xcode 9 for those coming from a search engine:
Click and hold on the Assistant Editor button for an options menu. Choosing "Assistant Editors on Right" will cause the view to be split vertically.
This has changed in Xcode 12, maybe earlier. All my Option-Clicks go to open second view appearing below rather than size by side. The solution is to go to Views -> Change Editor Orientation
respect to mattdipasquale
Command+J --------Check out the options in the Navigate file menu item
Command+Option+,------editing code or your cursor is blinking in the Editor
Option-click (or Option+Shift-click)------open a file in the Navigator
Command+Enter----------reset
Use the dropdown on the split icon to choose between different views
For Xcode 14 you just have to click this icon: