playMaker

Author Topic: Few errors when importing Playmaker NGUI  (Read 2208 times)

Splankton

  • Sr. Member
  • ****
  • Posts: 268
Few errors when importing Playmaker NGUI
« on: October 20, 2013, 02:18:08 PM »
Hi, I have the Playmaker 1.7.5 and NGUI v3
When I import the Playmaker NGUI package, I get these errors:

Assets/PlayMaker NGUI/Actions/Buttons/NGuiSetButtonTweenDirection.cs(38,25): error CS0246: The type or namespace name `UIButtonTween' could not be found. Are you missing a using directive or an assembly reference?

Assets/PlayMaker NGUI/Actions/Buttons/NGuiSetButtonTweenDirection.cs(12,36): error CS0246: The type or namespace name `UIButtonTween' could not be found. Are you missing a using directive or an assembly reference?

Assets/PlayMaker NGUI/Actions/Buttons/NGuiSetButtonTweenDirection.cs(12,18): error CS1502: The best overloaded method match for `HutongGames.PlayMaker.ObjectTypeAttribute.ObjectTypeAttribute(System.Type)' has some invalid arguments

Assets/PlayMaker NGUI/Actions/Buttons/NGuiSetButtonTweenDirection.cs(12,18): error CS1503: Argument `#1' cannot convert `object' expression to type `System.Type'


Any idea how I can fix them?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Few errors when importing Playmaker NGUI
« Reply #1 on: October 21, 2013, 02:08:10 AM »
Hi,

 This is going to be address this week ( it's on my shcedule), NGUI 3x should be considered a something completly new... and I suspect some project will have to stick to 2.x versions unfortunatly.

There is not such thing anymore UIButtonTween: so you will have to refactor your logic using the new tweening system from nGUi 3... I know... I have lots of projects that where heavily reyling on this as well... Hopefully, I will find a way to refactor smoothly, but I have little hope...


bye,

 Jean