How can I get the reference of the gameobject which is already loaded in game.. For example, if my game has an object called "House" which is in Project Hierarchy like
Hierarchy
Main Camera
House
In the script there will be a public reference to house written as follow
public Transform House;
void Start() {
}
where the reference of the House has to be initialised from the Editor.. How can I just get the reference of this House from script. I also don't want to use the GameObject.FindObjectWithTag as there might be so many tags attached to different objects. I just want to get the reference of the house by Name... Can somebody help me out of it.