how to create 2meters*2meters Plane?

Hello~

How can I create 2m*2m 2D plane?
I can create a 2D plane with:

GameObject FrontScreenPlane = GameObject.CreatePrimitive(PrimitiveType.Plane);

But how to set the size of this Plane?

Thanks

use Scale ???

I think the default is 10 units by 10 units, so scaling would be fine. If you want the actual mesh to be 2 by 2, you’ll have to make it procedurally or in a modeling program.