playMaker

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

marcos

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 199
    • View Profile
New Unity and iTween actions
« on: November 02, 2011, 01: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
    • View Profile
Re: New Unity and iTween actions
« Reply #1 on: November 02, 2011, 02:00:33 AM »
Okay, for some reason using the ease type 'Punch' was causing the error

Xtopher

  • 1.2 Beta
  • Junior Playmaker
  • *
  • Posts: 71
    • View Profile
    • Well Played Games
Re: New Unity and iTween actions
« Reply #2 on: November 02, 2011, 11:39:48 AM »
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
    • View Profile
Re: New Unity and iTween actions
« Reply #3 on: November 04, 2011, 08:46:57 PM »
Oh, cheers!

Alex Chouls

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