Search Unity

Target Animation

Discussion in 'Vuforia' started by harveyshideout, Jun 16, 2019.

  1. harveyshideout

    harveyshideout

    Joined:
    Jan 12, 2014
    Posts:
    33
    I have a simple pop up button on a building that is tracked, it works fine but the pop animation either loops or does not animate depending on the animation options in the debugging window. Im looking for help to solve this, my scripting is terrible, I get as far as this....then i just stare at the screen for hours with no progress, can anyone help?

    public class buttonAnim : MonoBehaviour


    {

    private Animator anim;


    // Start is called before the first frame update
    void Start()
    {
    anim = GetComponent<Animator>();
    }

    // Update is called once per frame
    void Update()
    {

    }
    }