Boo help: method not defined

Hi, I'm a python lover, so I'm trying to get started in Boo, but the compiler fails saying among other things that "GetClickedGameObject is not a member of class ClickEnterGUI".

It's also complaining that GUIManager, Fader and OrtographicZoomer are unknown identifyers (they are behaviors defined in C#). Can someone give me a hand with this, please?

class ClickEnterGUI (MonoBehaviour): 

    public clickLayerMask as LayerMask;

    def Start ():
        pass

    def Update ():
        if Input.GetMouseButtonDown(0):

            clickedObj = self.GetClickedGameObject()

            if clickedObj is not null:
                this.enabled = false
                gui = GameObject.Find("GUI")
                camera = GameObject.Find("MainCamera")
                fadeTime = gui.GetComponent(GUIManager).ActiveGUI.fadeTime
                camera.GetComponent(Fader).fadeOutIn(fadeTime, {
                        gn = clickedObj.GetComponent(GUIName);
                        computerGUI = gn.guiName;
                        gui.GetComponent(GUIManager).setGUI(computerGUI);
                        })
                camera.GetComponent(OrtographicZoomer).zoom(2)

    def GetClickedGameObject():
        // Builds a ray from camera point of view to the mouse position
        ray = Camera.main.ScreenPointToRay(Input.mousePosition)
        hit as RaycastHit

        // Casts the ray and get the first game object hit
        if (Physics.Raycast(ray, hit, Mathf.Infinity, clickLayerMask)):
            return hit.transform.gameObject
        else:
            return null

In actual Python you'd have to declare your method as def GetClickedGameObject(self):

I LOVE Python more than any human alive. Boo is different enough I think it's a horrible language to use. Very inconsistent.

Do you need to do some "import" statements to get access to the other C# stuff? Did you mean to spell OrtographicZoomer as OrthographicZoomer? (note the "h")

I'm not a Boo user, but these are the things I see that are suspicious.

the compiler fails saying among other things that "GetClickedGameObject is not a member of class ClickEnterGUI".

You don't need "self."; just leave it out. "`clickedObj = GetClickedGameObject()`" Although it does work fine with it, so I guess you have some other issues.

It's also complaining that GUIManager, Fader and OrtographicZoomer are unknown identifyers (they are behaviors defined in C#).

See here.

Check your whitespace. Make sure that whatever form of spacing (spaces vs. tabs) that precedes your methods is the same for the whole document.

Boo has a bug where it will not notify you if it encounters weird whitespace, and this sounds like the kind of problem that arises from that bug. I have notified the creator of Boo about it, but there is yet to be a patch for it.