Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: marcos on November 02, 2011, 04:51:19 AM

Title: New Unity and iTween actions
Post by: marcos 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
Title: Re: New Unity and iTween actions
Post by: marcos on November 02, 2011, 05:00:33 AM
Okay, for some reason using the ease type 'Punch' was causing the error
Title: Re: New Unity and iTween actions
Post by: Xtopher 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.
Title: Re: New Unity and iTween actions
Post by: marcos on November 04, 2011, 11:46:57 PM
Oh, cheers!
Title: Re: New Unity and iTween actions
Post by: Alex Chouls 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...