johnatm / itween

Automatically exported from code.google.com/p/itween
1 stars 2 forks source link

iTween not registering within Unity #96

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Installed iTween from Unity Asset store.
2. Added this code to one of my scripts:
    iTween.moveFrom ( gameObject, path, time );

What is the expected output? What do you see instead?
I was hoping to get my object to move across the screen. This was my first test 
of iTween.

Instead I get this error:
BCE0005: Unknown identifier: 'iTween'.

What version of the product are you using? On what operating system?
Unity: 3.4.2f2 -- Mac OS: 10.6.8

Please provide any additional information below.

Original issue reported on code.google.com by pnu...@gmail.com on 18 Nov 2011 at 8:40

GoogleCodeExporter commented 8 years ago
Ok, I was tired and didn't feel like looking stuff up on Google, but when I did 
I found the problem. 

I needed to add the iTween.cs file into folder called Plugins for it to work 
with Javascript. I should have known this, but maybe you should mention it 
somewhere on the Asset store or on the iTween website.

Original comment by pnu...@gmail.com on 21 Nov 2011 at 7:54

GoogleCodeExporter commented 8 years ago
Under further observation...I feel even more like an idiot. You really do have 
it written on your website to put the file into the Plugins folder. Wow, man 
I'm really unobservant. Well, thanks anyway, great product.

Original comment by pnu...@gmail.com on 21 Nov 2011 at 7:59