Quantcast
Channel: Questions in topic: "gameobject.tag"
Viewing all articles
Browse latest Browse all 95

using gameobject.find('key') but i want to make it with a tag

$
0
0
so i i am creating a game where you need to find keys and pick them up. although i will need to assign a tag or make many different scripts for each key carryingBlue = true; GameObject.Find('key').transform.parent = GameObject.Find('MainCamera').transform; this is just a sample but i would like to change the gameobject.find(key) to find a tag

Viewing all articles
Browse latest Browse all 95

Trending Articles