OnMouseUpAsButton never gets called

Hi, i have a script for a 3D gui system and I am having issues with having OnMouseUpAsButton( Unity - Scripting API: MonoBehaviour.OnMouseUpAsButton() )

using UnityEngine;
using System.Collections;

public class highscore : MonoBehaviour {
    public AudioClip button;
    public GameObject text;

    void OnMouseEnter()
    {
        audio.PlayOneShot(button);
        text.renderer.material.color = Color.red;
    }

    void OnMouseExit()
    {
        text.renderer.material.color = Color.white;
    }

    void OnMouseUpAsButton()
    {
        print("OnMouseUpAsButton");
    }

    void OnMouseUp()
    {
        print("OnMouseUp");
    }
}

That is my my code.Everything but the OnMouseUpAsButton works.
This refuses to work in javascript as well. Has anyone else encountered this issue?

It only works in Unity 3.4.

–Eric

oh… I should have tried that… lol duh. thanks

Just FYI, the “History” link that’s on all pages in the docs provides a list of which functions and so on were added to which version of Unity.

–Eric

Ah, ok thanks