I am making pong, and when the ball hits a goal, i am going to spawn a tally mark. I have a prefab for the tally mark called score, but it isn’t being Instantiated when I call Instantiate().
void addScore(int w){
if (w == 1) {
p1score = p1score + 1;
Vector3 v3 = new Vector3((float)p1score, 8,0);
Quaternion q = new Quaternion(0,0,0,0);
Instantiate(Score,v3,q);
}