Quantcast
Channel: Answers for "edit animation while having preview of animation "
Viewing all articles
Browse latest Browse all 4

Answer by ptm_oo

$
0
0
Thanks for answer. All I'm asking is in edit mode, not on runtime. I've found the solution to preview object animation in editmode, it's: if (!EditorApplication.isPlaying) gameObject.SampleAnimation(animationClip, time);​ Then I can edit one animation and have the second object's preview in background. However I'm still trying to sync those two animations, and i can't find how to get current frame in animation mode. A year ago someone asked the same question: http://answers.unity3d.com/questions/769764/in-an-editor-script-is-there-a-way-to-access-the-a.html

Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>