May 7 2009My first post, and an iPhone touch phase mini-tutorial!

Mini-tutorial!
This is my first post on the Unity blog and will be short because…hey, I still have more work to do. However, I wanted to drop a quick link to a mini-tutorial that I threw together for touch phase input. I was working on the larger iPhone tutorial that Ethan spoke about in a previous blogpost and having some trouble with touch input, so I decided to break out to a separate project and create something simple to track touches. It’s not quite a tutorial because I’m not including a PDF with step-by-step instructions, however, I’ll get around to that later before we put it up in Resources section of the website. Here’s my project folder with comments in the source code for what I’m doing:

Marty Plumbo said on May 7th, 2009 at 4:04 am:
What a cool demo! Thanks, Amir!
Marty Plumbo said on May 8th, 2009 at 5:51 pm:
Hey, Amir. I’m playing with the Unity iPhone TunnelRunner demo – in particular its response curve.
I’ve noticed though that changes that I make to the response curve in the editor are lost between sessions.
Do I need to do something special to save the changes I make to the curve?
Amir Ebrahimi said on May 8th, 2009 at 6:51 pm:
A quick glance at the Response Curve Editor code reveals that there isn’t save functionality
Marty Plumbo said on May 12th, 2009 at 6:13 am:
Thanks for checking into that, Amir!
I’m curious though, what’s the point of a curve editor if you can’t save the edited curve?
Amir Ebrahimi said on May 12th, 2009 at 5:49 pm:
For experimentation of course
Marty Plumbo said on May 14th, 2009 at 6:26 am:
Now why didn’t I realize that.
Is there an “easy” way to save curves edited with it though?
It’d be a hoot!
I’d love to be able to use a response curve to trim my input values, instead of a bunch of math.
diamondTearz » Unity3D iPhone/UnityRemote Tutorials, Tips and Utilities said on May 30th, 2009 at 10:37 pm:
[...] iPhone Touch Phase Mini Tutorial [...]
Marty Plumbo said on July 6th, 2009 at 9:06 pm:
Heya, Amir.
Any chance you could please, please, please give me a little hint as to how I can save these edited response curves to use later? TIA!
Amir Ebrahimi said on July 7th, 2009 at 8:52 pm:
I modified the ResponseCurveEditor.cs script to mark the curve as dirty, so that it gets saved properly. Additionally, if you had enabled/disabled the MonoBehaviour that held the curve that would have saved it properly. You can download an updated project from the Resources section.
Unity Technologies Blog » Blog Archive » “Touch Phases” Example iPhone Project said on September 5th, 2009 at 3:35 am:
[...] decided to clean up the Touch Phases project I had from a while back and post it to our iPhone example projects. You can now record and play back touch input in either [...]
bob said on September 6th, 2009 at 8:07 am:
do you have a PC project folder resource?
if you have it .please send me.thanks very much!