Declared function in class is not running..

I’m having trouble here. I have a script, I’ve attached it, and there are no physical errors popping up, but nothing is happening, like as if the function didn’t even run.

class idk{
	function eat(){
		print("i ate an apple");
var blob:idk;

function Start(){;

Why is it that it is not actually doing the eat() function? I do not have a clue.

Always use Debug.Log, not print. Print only works in MonoBehaviour classes. Also, I know that’s just a test, but get in the habit of making your class and function names uppercase to be consistent with the rest of the Unity API.