GameObject plane = GameObject.CreatePrimitive(PrimitiveType.Plane);
// Position and rotation plane
plane.transform.position = new Vector3(1f, 2f, 3f);
↧