Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get api in java
#2
If I weren't in vacation now I would send you a demo scene, but here's my project layout for Javascript usage:

(I moved the Curvy folder into PluginsSmile
/Plugins/Curvy/Base
/Plugins/Curvy/Examples
/Plugins/Curvy/Examples/ScriptsAndData
/Plugins/Editor (I moved the editor folder of the Curvy package here)
javascripttest.js (doesn't matter where you're javascript files are located, but they'll need to be outside Plugins)

This kind of problems are related to Unity, not Curvy. And you'll get this trouble with every other package written in C# as well. By having Curvy in a folder called "Plugins" you make sure that Curvy classes are compiled before your own scripts. Otherwise your scripts won't compile, as Curvy classes won't be usable then.

I recommend to read about the details here.
Reply


Messages In This Thread
get api in java - by kilik - 08-06-2013, 09:16 AM
RE: get api in java - by kilik - 08-10-2013, 04:01 PM
RE: get api in java - by Jake - 08-11-2013, 05:56 PM

Forum Jump: