Gets the name of a game object and stores it in a string variable.
Game Object
The game object.
Store Name
String variable to store the name.
Every Frame
Repeat every frame. Useful if you're waiting for a particular name.