Search Unity

Where is AnimationClip legacy gone in 4.7?

Discussion in 'Animation' started by fabio1955, Jan 11, 2017.

  1. fabio1955

    fabio1955

    Joined:
    Nov 11, 2009
    Posts:
    72
    I am still using Unity 4.7 and I need to mark an AnimationClip in a c# script with legacy=true
    but this "legacy" field is not in the class AnimationClip anymore. Does someone know something about it?
     
  2. mikael_juhala

    mikael_juhala

    Joined:
    Mar 9, 2015
    Posts:
    247
    Not sure if this will work in 4.7, but in 5.6 I can click the small icon next to the lock, select debug and then I can see the Legacy toggle.

    EDIT: Ah, sorry, completely missed that you had to do it in a script.
     

    Attached Files:

    • img.png
      img.png
      File size:
      20 KB
      Views:
      774