Answer the question
In order to leave comments, you need to log in
What if it gives an error that there is no object, but it is?
I instantiate an object like this
Field[x, y] = Instantiate(RandomCell, new Vector3(x, y, 0), Quaternion.identity) as Cell;
Debug.Log(RandomCell);
Object reference not set to an instance of an object
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question