playMaker

Author Topic: iTween conflict...  (Read 3784 times)

Duffdaddy

  • Junior Playmaker
  • **
  • Posts: 54
iTween conflict...
« on: July 14, 2011, 05:24:31 AM »
Keep getting this Notification:
---
Assets/PlayMaker/Actions/iTween/iTweenLookFrom.cs(27,24): warning CS0436: The type `iTween' conflicts with the imported type `iTween'. Ignoring the imported type definition
---

Am also using iGUI which also makes use of iTween. A conflict perhaps?

Duffdaddy

  • Junior Playmaker
  • **
  • Posts: 54
Re: iTween conflict...
« Reply #1 on: July 19, 2011, 12:29:11 AM »
Any takers? Still getting the same error...

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4003
  • Official Playmaker Support
    • LinkedIn
Re: iTween conflict...
« Reply #2 on: July 22, 2011, 12:59:28 PM »
Try searching your projects and removing any duplicate iTween.cs files.

The iTween.cs included with playmaker is in the standard directory that iTween installs itself when downloaded from the asset store, but other libraries may not do this...

dominickjohn

  • Playmaker Newbie
  • *
  • Posts: 2
Re: iTween conflict...
« Reply #3 on: November 12, 2015, 12:07:19 AM »
Apologies for bringing this old thread back to life, but I had this warning and didn't see elsewhere how to solve it.

It's not an error, and doesn't cause any issues to my knowledge, I was just getting annoyed seeing the warning every time I compiled.

Here's what I did:

In iTweenLookFrom.cs, surround line 30 (public iTween.EaseType easeType = iTween.EaseType.linear;) with...

#pragma warning disable 0436
public iTween.EaseType easeType = iTween.EaseType.linear;
#pragma warning restore 0436

simon.j.n.reading

  • Playmaker Newbie
  • *
  • Posts: 1
Re: iTween conflict...
« Reply #4 on: March 08, 2017, 05:52:29 AM »
03/2017
Current install of Playmaker & Current Install of Asset Store iTween.
Warning still exists.
would rather this was fixed rather than just disabling warning ;-)
But not a biggie ..