Hi, I have been trying to install iTween into Unity.
I import it and it comes in its own folders…
Pixelplacement > iTweenPath > Editor > C# iTweenPathEditor C# iTweenPath
I have tried to place them (import) into a Plugins folder and i still get the following…
Assets/Pixelplacement/iTweenPath/iTweenPath.cs(50,33): error CS0103: The name `iTween’ does not exist in the current context
I go to re-download it and it keeps saying All Assest already in your Project…
I have removed them several times to see if I can import them directly into my Plugins Folder but keeps importing iTween into its own folder…
been surfing the net for an answer but getting nowhere
Im really stuck and frustrated please help!
Did you install the itweeneditor as well? Just asking because I think I had the same error, it was because I had multiple copies of the itween.cs script in my assets, you can only have one.
yep, downloaded the Path Editor, but cannot find the google code…
I click on google code and all i seem to get is…
A simple, powerful and easy to use animation system for Unity.
Focusing on the established solutions and frameworks of projects such as TweenLite, Tweener, and other Flash-based tweening and interpolation systems, iTween is a battle-tested solution for streamlining production in the Unity environment.
If it needs to come alive; its shouldn’t be frustrating. iTween exists to help you reach your goals without making the journey difficult, allowing polish to coexist in tandem with production.
For documentation, examples and support visit the official support page at: http://itween.pixelplacement.com
after that it has another paragraph asking to donate, but no code, am I missing something??
SORTED! lol now i have them all on there I now have a NEW error!
(I have put the google code iTween.cs in a plugins folder and its now accepted iTween)
MissingMethodException: Method not found: ‘iTween.moveTo’.
Boo.Lang.Runtime.DynamicDispatching.MethodDispatcherFactory.ProduceExtensionDispatcher ()
Boo.Lang.Runtime.DynamicDispatching.MethodDispatcherFactory.Create ()
Boo.Lang.Runtime.RuntimeServices.DoCreateMethodDispatcher (System.Object target, System.Type targetType, System.String name, System.Object[ ] args)
Boo.Lang.Runtime.RuntimeServices.CreateMethodDispatcher (System.Object target, System.String name, System.Object[ ] args)
Boo.Lang.Runtime.RuntimeServices+c__AnonStorey12.<>m__6 ()
Boo.Lang.Runtime.DynamicDispatching.DispatcherCache.Get (Boo.Lang.Runtime.DynamicDispatching.DispatcherKey key, Boo.Lang.Runtime.DynamicDispatching.DispatcherFactory factory)
What im trying to do is create a 3D Menu using Javascript…
Here is a copy of my script…
function Start()
{
while(true)
{
OnSelected(true);
yield new WaitForSeconds(1.0);
OnSelected(false);
yield new WaitForSeconds(1.0);
}
}
function OnSelected(on:boolean)
{
// I just got selected!
if(on)
{
iTween.moveTo(GameObject,{“z”:-1, “time”:0.5});
}
else // I just got deselected
{
iTween.moveTo(GameObject,{“z”:0, “time”:0.5});
}
}
cant find the problem, im also copying it from this guy (works for him but not me…)