how to find a transform with tag in unity in a static void code example Example: Transform.FindObjectwithtag Object1 = GameObject.FindWithTag("Cube").transform;