x


Unity 3D don't open java or C script...

I don't understand why in Unity 3D 2.6 i was able to open and edit Java or C Script.

In Unity 3.4 i can't do that. I try to open it, but nothing happen. why?

more ▼

asked Aug 14 '11 at 11:11 AM

lanostraliberta gravatar image

lanostraliberta
-9 2 2 3

Java and C aren't supported by Unity 3.4. Do you mean JavaScript and C#?

Aug 14 '11 at 11:46 AM Simon Crowe

@Simon Crowe: What's the chance of it being otherwise?

Aug 14 '11 at 11:51 AM Statement ♦♦

@Statement has already offered a less verbose answer which is more or less the same.

When you "open" external files in Unity, it tells your system to open them with some other application. It's possible that your system file associations aren't set to open .js and .cs files with a text editor or specialized script editor. It is also possible that you don't have a default script editor specified in your Unity preferences.

Try opening the "Edit" drop-down menu, then clicking "Preferences". There you should see and option for external script editor. If this option isn't set, you can change it to a script editor of your choice. It might already be set to Momodevelop or UniSciTE, in which case, Unity should automatically tell your system to open the files using these applications. If it isn't, all I can suggest is changing the option.

Aug 14 '11 at 12:00 PM Simon Crowe

Yeah, JavaScript and C#

Aug 14 '11 at 03:36 PM lanostraliberta

happened to me too

Feb 06 at 10:39 PM sdgd
(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

Try doing this:

Goto menu Edit->Preferences->External Script editor and then select your desired editor.

more ▼

answered Aug 14 '11 at 11:53 AM

Statement gravatar image

Statement ♦♦
20.1k 35 70 175

Currently editor is "Built-in editor (mono develop)". I don't have others editor.

Aug 14 '11 at 03:40 PM lanostraliberta

I tried that (build in - mono develop) and it doesn't work

I reinstalled unity and I have same settings there and now it works strange

Feb 06 at 10:47 PM sdgd
(comments are locked)
10|3000 characters needed characters left

Now, for editing JavaScript files, i'm using Notepad... >_>'

more ▼

answered Aug 14 '11 at 03:42 PM

lanostraliberta gravatar image

lanostraliberta
-9 2 2 3

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x14
x11

asked: Aug 14 '11 at 11:11 AM

Seen: 1746 times

Last Updated: Feb 06 at 10:47 PM