VRButton.OnMouseDown C# (CSharp) Method

OnMouseDown() public method

public OnMouseDown ( ) : void
return void
    void OnMouseDown()
    {
        if (!events)
            return;
        else
            events = false;

        if (id == 0) {
        //		SetFrame (1);
        //		iTween.MoveTo (gameObject, iTween.Hash ("z", -5f, "time", .5f, "delay", 0f, "easetype", "easeInOutQuart", "onComplete", "_btnSTART"));
            _btnSTART();
        }
        if (id == 1) {
        //		SetFrame (1);
        //		iTween.MoveTo (gameObject, iTween.Hash ("z", 5f, "time", .5f, "delay", 0f, "easetype", "easeInOutQuart", "onComplete", "_btnABOUT"));
        }
        if (id == 3) {
        //		SetFrame (1);
        //		iTween.MoveTo (gameObject, iTween.Hash ("z", 5f, "time", .5f, "delay", 0f, "easetype", "easeInOutQuart", "onComplete", "_btnBACK"));
        }
    }