All subsequent instantiated objects = auto-named with suffix (Clone)?

Just double checking, will all instantiated objects of "Bill" be called "Bill(Clone)" ? (At least that is what they are reading as in `hit.transform.gameObject.name`)

In that case, to find these objects, would you use `Find("Bill(Clone)")` instead of `Find("Bill")`

1 Answer

1

That's the default name but you can change that.

GameObject go = Instantiate( prefab ) as GameObject;
go.name = whatever;

since by default all clones will be named "Clone(clone)", basically with the (clone) suffix, will you have to use Find("Clone(Clone)" instead of just Find ("Clone")?

Yes, unless you rename them on instantiation like demoed above, add (Clone) to your prefab name when searching for it.