Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

AnimationState.layer - Discontinued?

Discussion in 'Editor & General Support' started by Zergling103, Nov 19, 2013.

  1. Zergling103

    Zergling103

    Joined:
    Aug 16, 2011
    Posts:
    392
  2. SunnySunshine

    SunnySunshine

    Joined:
    May 18, 2009
    Posts:
    981
    That's very odd. Layer is required in order to control animation mixing. Don't see any reason why they'd remove that.
     
  3. MattT5

    MattT5

    Joined:
    Dec 7, 2017
    Posts:
    54
    Some time later, and the 2019.1 documentation is still missing the 'layer' property. The actual propery still works fine, though. Maybe nobody told Unity that the documentation is missing that property?
     
  4. LaneFox

    LaneFox

    Joined:
    Jun 29, 2011
    Posts:
    7,557
    You can click the "report a problem" button on any page in the Documentation or Manual.
     
  5. They know. It's unsupported and undocumented on purpose.
    https://docs.unity3d.com/ScriptReference/Animation.Play.html
     
  6. MattT5

    MattT5

    Joined:
    Dec 7, 2017
    Posts:
    54
    Which is what I did, but after looking at the reply from @Lurking-Ninja, I very much doubt that it was useful
     
  7. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,411