iTween and Compile - Directory

hi!

i have a script in the folder ‘Standard Assets/Scripts’ calling iTween.

Where i have to place iTween.CS now, to compile correct??
Without the error: Unknown identifier: ‘iTween’, because of the compile-order.

(I use the structure with StandardAssests because of other js-cs-compile-trouble)

thanx a lot

Make a Plugins folder, and put it in that. If that doesn’t work, put the Plugins folder in the StandardAssets.

thanx killer
i already did try both, but its the same…

This is odd…

Its basically impossible unless your script is in plugins too and you use a language other than C#

ensure though that the filename is still iTween.cs, not itween.cs or unity will fail to get the class recognized as present at all.

perhaps you just have some other error in that prevents a real recompile?

http://unity3d.com/support/documentation/ScriptReference/index.Script_compilation_28Advanced29.html

big thanx for your help!

i forgot to tell you: my script is JS
ok, i could solve this issue by moving my scripts like this:

Project:
/Scripts —> js which calls iTween
/Plugins → iTween.cs

this works fine - but - now i have my ‘first trouble’ again!
that was the reason for moving js to standard assets…
so, where i have to place another CS-Script now, which uses static variables from my js-script :wink: