Change Texture2D variable

When I hover a trigger, I want the cursor to change to a Texture2D of my choice, but I can't figure out how to change that variable.

I have this "Main" script on my camera to give a custom cursor:

using UnityEngine;
using System.Collections;

public class Main : MonoBehaviour {

    public Texture2D cursorImage;

    void Start()
    {
        Screen.showCursor = false;
    }

    void OnGUI()
    {       
        GUI.DrawTexture(new Rect(Input.mousePosition.x - 64, Screen.height - Input.mousePosition.y - 64, 128, 128), cursorImage);
    }
}

This is my trigger's "TriggerObject1" script

using UnityEngine;
using System.Collections;

public class TriggerTable1 : MonoBehaviour {

    void OnMouseEnter()
    {
        //Switch cursor code
        GameObject.Find("Main Camera").GetComponent<Main>().cursorImage = don't know what to put here;
    }

}

Create a folder called "Resources" in your project. Put your texture inside the folder. Then use something like this:

void OnMouseEnter()
{
//Switch cursor code
GameObject.Find("Main Camera").GetComponent<Main>().cursorImage = Resources.Load("YourTextureName");
}

This is how I do it (in Javascript). Just put the name of your texture inside the double quote marks.