Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Why is MonoBehaviour.OnDidApplyAnimationProperties undocumented?

Discussion in 'Documentation' started by cecarlsen, Jul 4, 2017.

  1. cecarlsen

    cecarlsen

    Joined:
    Jun 30, 2006
    Posts:
    856
    ModLunar, Xarbrough, sgkz and 4 others like this.
  2. Oamm

    Oamm

    Joined:
    May 15, 2016
    Posts:
    8
    Bump to this old thread - looks to still be working in 2019.3.4f.

    Working well for me for my current use case. Curious as to why it is undocumented now too.
     
    danUnity likes this.
  3. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    6,266
    ModLunar and danUnity like this.
  4. danUnity

    danUnity

    Joined:
    Apr 28, 2015
    Posts:
    229
    Same question here... so weird why this is not part of the doc! Right now everybody just keeps checking for value changes on Update... Such of waste of resources for nothing...
     
  5. hadynlander

    hadynlander

    Joined:
    Jan 24, 2014
    Posts:
    40
    I'm also looking for an answer on this.
     
  6. ModLunar

    ModLunar

    Joined:
    Oct 16, 2016
    Posts:
    373
    Still curious.. it can be very useful, if you don't want to jam too much into LateUpdate.
     
  7. Dreamteck

    Dreamteck

    Joined:
    Feb 12, 2015
    Posts:
    336
    Unity, c'mon! This has been around for years and it's still undocumented.
     
  8. Rensoburro_Taki

    Rensoburro_Taki

    Joined:
    Sep 2, 2011
    Posts:
    274
  9. Whatever560

    Whatever560

    Joined:
    Jan 5, 2016
    Posts:
    460
  10. kodra_dev

    kodra_dev

    Joined:
    Oct 31, 2022
    Posts:
    106
    Bump this thread. Should I use it or not? Is it a stable API? Is there an "official" way to notify a component that its values have been changed by animation?
     
  11. lgarczyn

    lgarczyn

    Joined:
    Nov 23, 2014
    Posts:
    66
    Would be really cool to have an answer.

    Until then, I'm doing both. I'm checking for value change in LateUpdate, but also directly changing the value and cached value using OnDidApplyAnimationProperties