I recently had the need to make a similar script, and while Scott's script is great it didn't quite implement all the features I was looking for.
If you're still struggling, feel free to grab this script and/or example project: http://danielskovli.com/folio/development/csharp/#maya-navigation-for-unity
Cheers,
Daniel
↧