IEnumerator RenderVehicle()
{
yield return new WaitForEndOfFrame();
Texture2D texture = new Texture2D(1920, 1080);
texture.ReadPixels(new Rect(0, 0, 1920, 1080), 0, 0);
texture.Apply();
byte[] bytes = texture.EncodeToPNG();
System.IO.File.WriteAllBytes("Vehicle.png", bytes);
}
#endif