Search Unity

Problem with SetActive

Discussion in 'Animation' started by kasspedro, Feb 11, 2020.

  1. kasspedro

    kasspedro

    Joined:
    May 19, 2019
    Posts:
    1
    Hi everyone,

    I just started working with Unity and I created a cicle of animations to do some tests. I need to set an object visible when I get to a specific animation of this cicle, but if I use setActive to true the object is visible during the entire cicle. How can I manage to turn this object visible and invisible just when a specific animation ir running?