Search Unity

Preview two animations in edit mode?

Discussion in 'Animation' started by ptm_oo, Nov 10, 2014.

  1. ptm_oo

    ptm_oo

    Joined:
    Oct 30, 2014
    Posts:
    35
    Hi. Is there any way to preview two animations in edit mode?
    I need to edit animation <1> while having preview of animation <2>.

    I've found script by Mecanim.Dev Sonny , it can preview object animation in editmode, but when you need to edit other object it loses focus and stops the preview.

    thanks,
    petum
     

    Attached Files:

  2. ptm_oo

    ptm_oo

    Joined:
    Oct 30, 2014
    Posts:
    35
  3. Mecanim-Dev

    Mecanim-Dev

    Joined:
    Nov 26, 2012
    Posts:
    1,675
    The API is internal so there is no easy way to set this value, maybe you could try with reflection but even with that there is no guarantee it will work.
     
  4. ptm_oo

    ptm_oo

    Joined:
    Oct 30, 2014
    Posts:
    35
    thanks, you said that there is no easy way to set this value, is there a way to GET it?

     
    Last edited: Nov 11, 2014
  5. Mecanim-Dev

    Mecanim-Dev

    Joined:
    Nov 26, 2012
    Posts:
    1,675
    No, this value is well hidden in internal class.
     
  6. ptm_oo

    ptm_oo

    Joined:
    Oct 30, 2014
    Posts:
    35
    Ok, thank You for answer ;)