- Home /
Can after effects sequences be imported to Unity for GUI?
Hello, we're trying to make a UI for our game and were wondering if file formats from After Effects can import into Unity
thanks
Bryan
Answer by equalsequals · Jul 16, 2010 at 09:48 PM
If you mean simply dragging an After Effects file into Unity and it interprets it like it does a Photoshop .psd, then no.
Cheers,
==
Answer by Miriam · Oct 03, 2010 at 01:38 PM
Hi,
While you can't get your After Effects file in, you CAN get your After Effects keyframe data in - and then use that data to recreate the animation.
In After Effects simply select the keyframes you want to replicate, control C to copy them, then open up a text editor and paste the data. It will show you something like this:
Adobe After Effects 8.0 Keyframe Data
Units Per Second 29.97
Source Width 1
Source Height 1
Source Pixel Aspect Ratio 1
Comp Pixel Aspect Ratio 1
Transform Position Frame X pixels Y pixels Z pixels
0 356.006 270.637 0
6 361.781 273.339 0
11 359.628 267.893 0
You can then use this data to replicate the animation in unity.
If you want the exact position per frame (rather than keyframes):
- select the property you're interested in
- add the expression 'value'
- Animation > Keyframe Assistant > Convert Expression To Keyframes
- select all the new keyframes, copy, then paste into a text editor
Good luck.
Answer by lacost · Oct 08, 2013 at 09:30 AM
Hello. I just made plugin with can import After Effect animation to Unity project
Your answer
Follow this Question
Related Questions
How to detect if mouse is over GUI element in Web Player? 0 Answers
GUI.DrawTexture shows in Unity but not in Build 1 Answer
Score display not working 1 Answer
How to position 3D-GUI-Mesh on change of aspect ratio? 0 Answers
Scrolling Text 1 Answer