How can I get any object in my scene by name? For example I have a prefab named King. In some scripts I’d like to be able to get that object’s transform.
OR
Is there a better way to assign this transform after I create an object dynamically?
How can I get any object in my scene by name? For example I have a prefab named King. In some scripts I’d like to be able to get that object’s transform.
OR
Is there a better way to assign this transform after I create an object dynamically?
Hi Rick,
maybe this link will help you :