unity change gameobject rotation code example
Example 1: unity how to change rotation
transform.eulerAngles = new Vector3(0f, 180f, 0f); //rotates 180 degrees
Example 2: get position of gameobject unity
GameObject.FindGameObjectWithTag("Your_Tag_Here").transform.position;