Hey everyone! I’m not sure if this is working or not (as in if it is even skipping it) but in my game, it doesn’t find a game object.
The object is a clone of a prefab (they both are). They spawn at the same time but the one that it must find spawns before it. here is my code!
public GameObject body;
void Start()
{
body = GameObject.Find("PlayerBody");
}
any idea how I can get this to work? Thanks everyone in advance!