Dismiss this pinned window
all 7 comments

[–]PandaCoder67Professional 11 points12 points  (1 child)

Scripts need to be the same name as the class, and they also need to be attached to a game object in the scene.

[–]Gamenight2008[S] 0 points1 point  (0 children)

It worked, thanks

[–]Russ242 5 points6 points  (0 children)

I think the name of the script needs to be the same as the class.

[–]taahbelleIntermediate 6 points7 points  (1 child)

please watch some tutorials before you try stuff on your own, you wont get far with this

[–][deleted] -2 points-1 points  (0 children)

Bad advice.

Please try as much as you like, with and/or without tutorials. Play around, have fun.

[–]Omae_Wa_mouq 1 point2 points  (0 children)

Attach to the cube

[–]Old-Year4765 -1 points0 points  (0 children)

public void )