I was wondering if its possible to determine a specific area of a plane using nothing but code?
Something like this. Its either X and Z or X and Y.
float myPlaneArea = (transform.lossyScale.x * 10) * (transform.lossyScale.z * 10);
I was wondering if its possible to determine a specific area of a plane using nothing but code?
Something like this. Its either X and Z or X and Y.
float myPlaneArea = (transform.lossyScale.x * 10) * (transform.lossyScale.z * 10);