Open standalone player directly from command line without configuration popup - unity3d

Using windows 7 and unity 5.3, I want to open the player without the first popup which ask about configuration Like screen resolution and graphic quality etc as mention in Picture.
I want to open the scene directly but these configuration I want to provide through command line and batch file. I checked Unity docs about command line but it did not work for me I tried this command line but still showing the popup.
E:\Player\StreamerPlayer.exe -screen-width 800 -screen-height 600 -screen-quality fantastic
Is there any way available to play standalone from command line and provide all parameter thought it and open scene directly?

Go to File/Build Settings/Player Settings and then check out the Standalone Player Options where you set the Display Resolution Dialog to Disabled.

Related

Unity inspector unable to save text script

I am trying to edit existing project in unity version 2017.1.3f1 my goal is to change the value of a text script using direct edit from the inspector. However everytime i save the project and run the application the change i have made is not reflecting. Can any one advice me on how to deal with this.
The methods that i have tried
Click the gear icon to load the csharp script but always showing error code
"Unable to open C:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/GUISystem/Standalone/UnityEngine.UI.dll: Check external application preferences.
I have change editor from MONO and Visual Studio but still no luck.
i have attached here some images that can help understand my concern.
RED circle is for the text wanted to change and the gear icon is suppose to leas the code but showing error as mention above
You are using Unity, and therefore the component system. The text is part of the old (deprecated) set of GUI components.
The editor window only allows you to cache the text that will be displayed. In order to load/change text, you need to create a C# script. C# script is added by pressing the AddComponent button, for example. Next, you need to use the Using UnityEngine.UI directive for your component, or TMPro for the Text Mesh Pro component.
If your changes don't show up, it's likely that the project has a system that loads certain texts into your text field. In this case, you need to find out which script is responsible for this.

Doubleclick open all type of file directly in text editor

I have a problem with Unity and I hope you can help me because, actually, I don't understand.
For each double click on any file, even the scenes or other internal type, Unity open it directly inside Sublime3.
Does anyone know how to fix?
ADD:
The problem is that EVERYTHING now opens with that, even the scenes and the prefabs
if I double click on the scene or the prefab and it opens sublime with the binary 0001010010101
Just to be clear, cause I was confused a bit, what you should do is to go in the Edit->Preferences->External Tools and there under External Script Editor choose Open By File extension. This way script files will open with Sublime3 (or whatever you had set up before), and scene files will open in unity properpy.

How to remove window frame in game made in Unity?

So all my problem is illustrated in the title. When the game is launched and (for example) the windowed mode is chosen at the Configuration Window, how can I remove a window frame (where "minimise" and "close" buttons situated)?
P.S. Maybe there were a solution before I asked but I couldn't find the answer.
Unity has some built-in Unity Standalone Player command line arguments. One of them is
-popupwindow: Create the window as a a pop-up window, without a frame.
Either create a new link to your standalone_app.exe file and add the parameter -popupwindow to the target path.
Or you can use the approach from this post:
open the Windows Editor app (or any text editor) and do
/path/to/your/built/app.exe -popupwindow
and save it as .bat file. If you now doubleclick that it opens without the Window bar.
You can than later convert this to an exe using e.g. BatToExe
Update to Comment/Answer
You can change it to be Exclusive Fullscreen in the Player Settings under the Resolution and Presentation section.

Gnome shell two monitors full screen apps

I'm working on the Ubuntu 16.04 whit Gnome Shell version 3.18.5 and I'm using two monitors. Issue which I have regarding aplications opend in the full screen mode.
For expample if I open on the monitor number 1 my browser and on the monitor number 2 terminal in full screen mode plus some additional application such as a code editor(not full screen). Now when I'm focus on the code editor which is on the top of the terminal it's ok but when I click on my broser window(monitor 1) then the code editor gose behind the terminal automatically.
I've prepared some video to better show this problem:
In this video you can see correct behaviour when I'm using one monitor.
Here is video showing incorrect behaviour. Don't care about the elements which are above the terminal on the left screen. Terminal was set to full screen.
Dose anybody know how to change this behaviour? I was looking for solution in google but without success. Thank you.
That's the expected behavior when things are in focus/out of focus. Try resizing your windows so they don't block one another; thus, nothing will be "behind" anything else when you shift focus by clicking here or there.

Running my program from PyDev with one click?

I am developing using the PyDev plugin in Eclipse. My program uses several classes in several files. I usually run the program using the green "play" icon or using Control+F11. The only problem is that it will run the file, which is currently in "focus". Usually this is not the one containing the starting point of my application. As I run my program something like 200 times a day, this means that I need 200 extra click on the mouse and often forget about this.
Is there any way of setting the default file to launch?
Yes, change the launching to rerun the last launched, so Ctrl+F11 will launch the last one -- and use F9 to launch the one with focus -- See instructions and details at: http://pydev.org/manual_101_run.html
For me, the shortcut is Ctrl+Shift+F9. I don't think I've changed any keybindings, so its strange that it would be different from the official documentation.
Go to Run->Run History, and select the run that is your 'main' run. Now you should be able to use Ctrl-Shift+F9 from any other file to rerun your main. If it isn't Ctrl+Shift+F9 for you, look on the console window that should be at the bottom of your screen showing the stdout after every run. There is an icon on the top of it that has the green start arrow with a yellow arrow underneath it pointing to the right. That is the command to relaunch with the same configuration. If you hover over that, it should tell you the keyboard shortcut you need.