Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by dingdong · Dec 06, 2011 at 08:44 AM · itween

iTween Unknown Identiflier

Hi Guys,

I'm accessing the component from a C# and I read that there's some complie order weirdness when trying to access a JavaScript component from a C# so I have to put my .js file under the Assets/Standard Assets/ folder but because of this I got the BCE0005: Unknown identifier: 'iTween'..

I tired moving the iTween to the plugins folder etc but no luck.

any idea?

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image BluEye · Jun 23, 2012 at 04:55 PM 0
Share

Did you ever figure this out?

avatar image DannyB · Jun 25, 2012 at 04:56 PM 0
Share

This seems to be an old question with new interest, so @Irishsun530 are you positive the error you are receiving is related to compile order? I have used iTween.cs from both C# and JS files with no problems. $$anonymous$$y scripts were anywhere I wanted (usually in Assets/Scripts or so) and iTween.cs was under Assets/Plugins.

avatar image BluEye · Jun 25, 2012 at 05:02 PM 0
Share

@DannyB I'm honestly not even sure it is the same problem.

I just heard about iTween the other day. Went to the asset store. Downloaded/installed it. Went back to unity (following instructions from someone's site). They said under component there was to be iTween then the option to switch it to JS.

Under component, then script for me is iTween. All of it is done in CS for me. I read that somewhere creating a Plugins folder then taking the iTween.cs script was supposed to fix it. Sadly it did not.

I'm not sure what I am doing wrong. I have the most up to date Unity file.

Any idea why this is occurring or rather what I may be doing wrong?

avatar image DannyB · Jun 25, 2012 at 05:29 PM 1
Share

Start from scratch so you can better understand where your problem is. Create an empty new project, then drag your iTween folder as is to the project. Inside the iTween folder, there is a sample scene called "Sample". Double click it to switch to it, and press Play, see if it plays.

In case you are getting warning messages "The referenced script on this Behaviour is missing!", select one of the cubes in the scene, and in its inspector panel, scroll down to the $$anonymous$$ono Behavior component, and then drag one of the scripts in the Sample folder to it (either RotateSample or $$anonymous$$oveSample).

Do the same with the other cube, then run it.

This should now work, and you should have a working sample of how to call iTween from Javascript (view the two sample scripts). It is quite the same from C#.

HTH.

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

iTween & Boo 1 Answer

NGUI - Simulate a button press from script 3 Answers

On end of iTween 3 Answers

How to import the object from server to unity 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges