public void takeScreenshot_public() { GetComponent <FollowPlayer>().enabled = false; transform.rotation = Quaternion.Euler(90, 0, 0); transform.position = new Vector3(Crear_Mundo.numFilas / 2, (Crear_Mundo.numFilas >= Crear_Mundo.numColumnas) ? Crear_Mundo.numFilas : Crear_Mundo.numColumnas, Crear_Mundo.numColumnas / 2); instance.TakeScreenshot(); }
public void TearDown() { if ((TestContext.CurrentContext.Result.Outcome != ResultState.Success) && (InstanceManager.CurrentInstance?.CurrentSession != null)) { ScreenshotHandler.TakeScreenshot(InstanceManager.CurrentInstance.CurrentSession); } }
public static void TakeScreenshot_Static(int width, int height) { instance.TakeScreenshot(width, height); }