playMaker

Author Topic: New Unity and iTween actions  (Read 4118 times)

marcos

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 199
New Unity and iTween actions
« on: November 02, 2011, 04:51:19 AM »
Just wondering if anyone is having any trouble with MoveBy and MoveAdd actions after updating to the latest Unity?

I keep getting null reference exceptions, I feel like I've set everything up fine, I'm going to keep looking though

marcos

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 199
Re: New Unity and iTween actions
« Reply #1 on: November 02, 2011, 05:00:33 AM »
Okay, for some reason using the ease type 'Punch' was causing the error

Xtopher

  • 1.2 Beta
  • Junior Playmaker
  • *
  • Posts: 71
    • Well Played Games
Re: New Unity and iTween actions
« Reply #2 on: November 02, 2011, 02:39:48 PM »
I'm not looking at direction right now so I don't remember the specifics, but I remember Punch needed a node to be specified to move toward/away from.  That's probably the null reference you were getting.  It's not an ease type in the same way the others are, as it requires an extra paramater.

marcos

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 199
Re: New Unity and iTween actions
« Reply #3 on: November 04, 2011, 11:46:57 PM »
Oh, cheers!

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: New Unity and iTween actions
« Reply #4 on: November 05, 2011, 01:55:08 PM »
I'm looking into this... the NullReferenceError is in iTween, but there should be a way to avoid it in Playmaker...