Example #1
0
 public GetScreenshot(SocketSettings socketSettings, int id, Assets.AltUnityTester.AltUnityDriver.UnityStruct.Color color, float width, Vector2 size) : base(socketSettings)
 {
     this.size   = size;
     this.color  = color;
     this.width  = width;
     this.id     = id;
     this.option = 2;
 }
Example #2
0
 public GetScreenshot(SocketSettings socketSettings, Vector2 coordinates, Assets.AltUnityTester.AltUnityDriver.UnityStruct.Color color, float width, Vector2 size) : base(socketSettings)
 {
     this.coordinates = coordinates;
     this.color       = color;
     this.width       = width;
     this.size        = size;
     this.option      = 3;
 }
Example #3
0
 public TextureInformation GetScreenshot(Vector2 coordinates, Assets.AltUnityTester.AltUnityDriver.UnityStruct.Color color, float width, Vector2 size = default(Vector2))
 {
     return(new GetScreenshot(socketSettings, coordinates, color, width, size).Execute());
 }