unity find transform with tag code example Example: Transform.FindObjectwithtag Object1 = GameObject.FindWithTag("Cube").transform;