You've already forked Commercialization.topon
update 1.1.25
This commit is contained in:
55
AnyThinkPlugin/AnyThinkAds/Api/ATRect.cs
Normal file
55
AnyThinkPlugin/AnyThinkAds/Api/ATRect.cs
Normal file
@@ -0,0 +1,55 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AnyThinkAds.Api
|
||||
{
|
||||
public class ATRect
|
||||
{
|
||||
public ATRect(int x, int y, int width, int height, bool usesPixel)
|
||||
{
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
this.usesPixel = usesPixel;
|
||||
}
|
||||
|
||||
public ATRect(int x, int y, int width, int height)
|
||||
{
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
this.usesPixel = false;
|
||||
}
|
||||
|
||||
public int x = 0;
|
||||
public int y = 0;
|
||||
public int width = 0;
|
||||
public int height = 0;
|
||||
public bool usesPixel = false;
|
||||
|
||||
}
|
||||
|
||||
public class ATSize
|
||||
{
|
||||
public ATSize(int width, int height, bool usesPixel)
|
||||
{
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
this.usesPixel = usesPixel;
|
||||
}
|
||||
|
||||
public ATSize(int width, int height)
|
||||
{
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
this.usesPixel = false;
|
||||
}
|
||||
|
||||
public int width = 0;
|
||||
public int height = 0;
|
||||
public bool usesPixel = false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user