Finding GameObject

Hi all.
I have an application that contain many gameobjects and I find a gameobject with the gameobject.find method.
As I have many objects, what is the better way to expose my object finded?

Thanks.

Thiago (from Brazil)

I am not entirely sure if I understand your question. Could you make an example of what you would like to achieve?

if i understand the question…

you can change it’s texture/color, or something similar.

You should use tags instead, so you can use GameObject.FindWithTag (“name”);

var respawnPrefab : GameObject;
var respawn = GameObject.FindWithTag ("Respawn");
Instantiate (respawnPrefab, respawn.transform.position, respawn.transform.rotation);

Sorry I missread, you could also look into shaders to highlight say the selected mesh.