update 1.1.25

This commit is contained in:
2024-03-12 02:17:14 +08:00
parent 93501423d7
commit d0a6ab116e
346 changed files with 1902 additions and 4759 deletions

View File

@@ -0,0 +1,55 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace AnyThinkAds.Api{
public class ATNativeItemProperty {
public int x;
public int y;
public int width;
public int height;
public bool usesPixel;
public string backgroundColor;
public string textColor; //只是针对text的view有效
public int textSize; //只是针对text的view有效
public bool isCustomClick; //只针对Android
public ATNativeItemProperty(int x, int y, int width, int height, string backgroundColor, string textColor, int textSize, bool usesPixel, bool isCustomClick)
{
this.x = x;
this.y = y;
this.width = width;
this.height = height;
this.usesPixel = usesPixel;
this.backgroundColor = backgroundColor;
this.textColor = textColor;
this.textSize = textSize;
this.isCustomClick = isCustomClick;
}
public ATNativeItemProperty(int x, int y, int width, int height, string backgroundColor, string textColor, int textSize, bool usesPixel)
{
this.x = x;
this.y = y;
this.width = width;
this.height = height;
this.usesPixel = usesPixel;
this.backgroundColor = backgroundColor;
this.textColor = textColor;
this.textSize = textSize;
}
public ATNativeItemProperty(int x,int y,int width,int height,string backgroundColor,string textColor,int textSize){
this.x = x;
this.y = y;
this.width = width;
this.height = height;
this.usesPixel = false;
this.backgroundColor = backgroundColor;
this.textColor = textColor;
this.textSize = textSize;
}
}
}