/// Get a plane mesh of the size "size" public static Mesh GetPlaneMesh(Vector2 size) { float id = (size.x + size.y * 666f); if (MeshPool.planes.ContainsKey(id)) { return(MeshPool.planes[id].mesh); } MeshPool.planes.Add(id, MeshPool.GenPlaneMesh(size)); return(MeshPool.planes[id].mesh); }