Ejemplo n.º 1
0
 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();
 }
Ejemplo n.º 2
0
 public void TearDown()
 {
     if ((TestContext.CurrentContext.Result.Outcome != ResultState.Success) &&
         (InstanceManager.CurrentInstance?.CurrentSession != null))
     {
         ScreenshotHandler.TakeScreenshot(InstanceManager.CurrentInstance.CurrentSession);
     }
 }
Ejemplo n.º 3
0
 public static void TakeScreenshot_Static(int width, int height)
 {
     instance.TakeScreenshot(width, height);
 }