x


If posibel to use different Script Language in a Project

I will writte some parts of my code in C# and in JavaScript....

It is posibel that i can used a C# GameObject in my JavaScript code?

For the moment looks that is not possibel to mix it :(

thats my structure :

  • / Editor /
  • / GridManager.cs
  • / Spiel / GameSpieler.js

now i will use the code in GridManager in the script GameSpieler... but mono dosent show the class from GridManager....

thanks for Help

more ▼

asked Mar 05 '12 at 03:01 PM

Dougiehauser gravatar image

Dougiehauser
1 1 2

I found the Problem, its a littel hard to understand the documentation, i have to move my Script what i will "Global" used into the Asset Folder "Standart Assets" there the scripts will be first compiled and my script in the Folder "Spiel", and now i have the access to the GridManager class

would be nice to know what all Folder exist, and how Unity will handel them

but my prob is found =)

Mar 05 '12 at 12:50 PM Dougiehauser
(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
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:

x4377
x3571

asked: Mar 05 '12 at 03:01 PM

Seen: 327 times

Last Updated: Mar 05 '12 at 03:01 PM