iTween unity problems

I am trying to install the iTween plugin, downloaded from Google Code Archive - Long-term storage for Google Code Project Hosting.

After importing the script into a new folder in my assets folder called “Plugins”. I get this unity error:

Assets/Plugins/iTween.cs(6414,33): error CS0103: The name ‘UnityEditor’ does not exist in the current context.

I tried creating a new clean project and even then the errors occur!

I’m using unity 2.6pro

It appears you can’t use Helper calls in Unity 2.6 which are located in UnityEditor. For now if you comment out both lines that are creating that error you will be fine. I’ll fix this as soon as I can.

FYI :

iTween_2_0_35 does not work with Unity 3.1.0f3

Well works in the editor BUT you cant build it for iPhone 4.1

Assets/Plugins/iTween.cs(6414,33): error CS0103: The name `UnityEditor’ does not exist in the current context

Assets/Plugins/iTween.cs(6432,33): error CS0103: The name `UnityEditor’ does not exist in the current context

Error building Player because scripts had compiler errors
UnityEditor.HostView:OnGUI()

But iTween_2_0_33 works in the editor and builds for iPhone 4.1 :slight_smile:

This should now be fixed on the most recent version 2.0.36. Please grab it and let me know! Thanks!

Ive just started getting this error also in unity 3.1 itween 2.0.36

Assets/Plugins/iTween.cs(6433,33): error CS0103: The name `UnityEditor’ does not exist in the current context

But only when i compile to iphone.

NB. Iv’e commented out the line for now :slight_smile:

I thought I commented this out of .36. I’ll take another look.

Ok, this should finally be removed and fixed. Thanks!

Yeah it works great now, thanks! :slight_smile:

Forgot to thank you!