Hey Guys. I was wondering how to get the [code=CSharp] player = GameObject.Find("lol");
to grab a player Tag instead of a name. like the GameObjects tag and the tag is player. I need to do this because you can change your name in my game which changes the GameObjects name so I need to grab the tag instead of the name. If anyone knows please help. Thanks!
Make sure you look through documentation
GameObject.FindGameObjectWithTag ("Tag");
Also to note that GameObject.Find is slow generally speaking, so you may consider other options as well.
Thanks! I forgot to look through that doc:)