Search Unity

Question Call animation event function on a child script ?

Discussion in 'Animation' started by Pytchoun, Mar 15, 2023.

  1. Pytchoun

    Pytchoun

    Joined:
    Apr 12, 2015
    Posts:
    203
    Can we call a function with animation event on a child script of the gameobject that have the animator ?
     
  2. Unrighteouss

    Unrighteouss

    Joined:
    Apr 24, 2018
    Posts:
    599
    Not directly, but you can call a function on the object with the animator that then calls a function on the child. As far as I know, that's the only way.