I found Unity about a week ago and I’m completely blown away, I have been working in Papervision thinking that it was state of the art but it doesn’t hold a candle to Unity. But…Unity is built around gaming while flash is built around the web, I need to do both…
Has anybody tried to port over the Tween class from Actionscript? I need to control some animations in Unity like I do in flash using some script. i.e. move the position and scale using a couple of lines vice recreate the wheel.
okay, another question then, can I use this C# class while I’m programming in Javascript? and if so, do I just attach it to my game object and call it from there?
That shouldn’t be a problem. Generally speaking, you can use JavaScript and C# side-by-side (that’s one of the nice things in .NET / Mono, which is the framework on which Unity scripting is built).
In this case, the functions are public static classes, so the script doesn’t have to be attached to anything. You can do something like “print (Mathfx.Bounce(1.5));” and it should just work. The thing to be aware of when mixing languages is compile order. You can look that up in the docs, but in short, put the Mathfx script in Standard Assets/Scripts.