Hi, i have a problem
How can I create a primitive plane in unity3D C# with specific size?
I am trying with this code:
GameObject plane = GameObject.CreatePrimitive (PrimitiveType.Plane);
GameObject augmentation = (GameObject)GameObject.Instantiate (plane);
augmentation.transform.parent = plane.transform;
augmentation.transform.localPosition = new Vector3 (0f, 0f, 0f);
augmentation.transform.localRotation = Quaternion.identity;
augmentation.transform.localScale = new Vector3 (0.005f, 0.005f, 0.005f);
augmentation.gameObject.SetActive (true);
When the app is running on android shows a plane of size 10 x 10.