Search Unity

Question it won't let me call the setbool command

Discussion in 'Animation' started by OnealGames, Jun 17, 2021.

  1. OnealGames

    OnealGames

    Joined:
    Jun 17, 2021
    Posts:
    1
    Assets\Sprite\Jugador.cs(24,22): error CS1061: 'Animation' does not contain a definition for 'SetBool' and no accessible extension method 'SetBool' accepting a first argument of type 'Animation' could be found (are you missing a using directive or an assembly reference?)
     

    Attached Files:

  2. Kybernetik

    Kybernetik

    Joined:
    Jan 3, 2013
    Posts:
    2,570
    Animation is the legacy animation system.

    Animator is the Animator Controller system.