The easiest way to do that, would be to simply drag and drop the game object that includes the script you want to call the funtion, into canvas editor. You will get a dropdown menu, from which you will be able to select any function you want to call 🙂