109 lines
4.4 KiB
C#
109 lines
4.4 KiB
C#
|
|
using System.Collections;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using UnityEngine;
|
|||
|
|
|
|||
|
|
namespace HC
|
|||
|
|
{
|
|||
|
|
public static class HCStaticParams
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
|
|||
|
|
#if WEBGL_WX
|
|||
|
|
|
|||
|
|
// 友盟id
|
|||
|
|
public static string UMENG_ID = "111";
|
|||
|
|
|
|||
|
|
// 数数埋点配置, 如果不配置,不会进行始化
|
|||
|
|
public static string TDAppId = ""; //demo id = b14660acc69f454ab45a5c8182777724
|
|||
|
|
public static string TDServerUrl = "https://ss.dgtverse.cn"; //
|
|||
|
|
|
|||
|
|
|
|||
|
|
// 支付key
|
|||
|
|
public static string PAY_OFFERID = "1450154409";
|
|||
|
|
|
|||
|
|
// Ads
|
|||
|
|
public static string BannerAdUnitID = "adunit-1275aef9ec5b6c6e";
|
|||
|
|
|
|||
|
|
public static string InterAdUnitID = "adunit-477a114617621f0e";
|
|||
|
|
|
|||
|
|
// 提审模式下激励视频广告位ID
|
|||
|
|
public static string ReviewRewardUnitId = "adunit-1f8d99004f8fefe2";
|
|||
|
|
|
|||
|
|
// 线上激励视频广告位ID
|
|||
|
|
public static string RewardAdUnitID = "adunit-1f8d99004f8fefe2";
|
|||
|
|
|
|||
|
|
public static string NativeAdUnitID1 = "test-1";
|
|||
|
|
public static string NativeAdUnitID2 = "test-2";
|
|||
|
|
public static string NativeAdUnitID3 = "test-3";
|
|||
|
|
public static string NativeAdUnitID4 = "test-4";
|
|||
|
|
|
|||
|
|
private static HCNativeAdUnit HCNativeAdUnit1 = new HCNativeAdUnit("adunit-404c299843d1088e", 5, 5, TextAnchor.MiddleCenter,
|
|||
|
|
new HCNativeAdUnit("adunit-52f9e3736648a512", 4, 5,
|
|||
|
|
fit: new HCNativeAdUnit("adunit-6aa81f49d8a8c4a5", 3, 5,
|
|||
|
|
fit: new HCNativeAdUnit("adunit-c2e21a5ede6f1ca0", 2, 5))));
|
|||
|
|
|
|||
|
|
private static HCNativeAdUnit HCNativeAdUnit2 = new HCNativeAdUnit("adunit-0340f300a558cb12", 5, 5, isFull: true);
|
|||
|
|
private static HCNativeAdUnit HCNativeAdUnit3 = new HCNativeAdUnit("adunit-cd2f17188ded766d", 1, 5, TextAnchor.UpperLeft);
|
|||
|
|
private static HCNativeAdUnit HCNativeAdUnit4 = new HCNativeAdUnit("adunit-8f5b651e53f72100", 1, 5, TextAnchor.LowerCenter);
|
|||
|
|
|
|||
|
|
|
|||
|
|
public static Dictionary<string, HCNativeAdUnit> NativeAdUnitIDDictionary = new Dictionary<string, HCNativeAdUnit>
|
|||
|
|
{
|
|||
|
|
[NativeAdUnitID1] = HCNativeAdUnit1,
|
|||
|
|
[NativeAdUnitID2] = HCNativeAdUnit2,
|
|||
|
|
[NativeAdUnitID3] = HCNativeAdUnit3,
|
|||
|
|
[NativeAdUnitID4] = HCNativeAdUnit4,
|
|||
|
|
};
|
|||
|
|
#elif WEBGL_BYTEDANCE
|
|||
|
|
|
|||
|
|
// 数数埋点配置, 如果不配置,不会进行始化
|
|||
|
|
public static string TDAppId = "b14660acc69f454ab45a5c8182777724"; //demo id = b14660acc69f454ab45a5c8182777724
|
|||
|
|
public static string TDServerUrl = "https://ss.dgtverse.cn"; //
|
|||
|
|
// Ads
|
|||
|
|
public static string BytedanceAppId = "tt48073ebad739259407";
|
|||
|
|
|
|||
|
|
public static string BannerAdUnitID = "gifhp9rf68922c59e1";
|
|||
|
|
|
|||
|
|
public static string InterAdUnitID = "dd5iaf297h193cbbfn";
|
|||
|
|
|
|||
|
|
// 提审模式下激励视频广告位ID
|
|||
|
|
public static string ReviewRewardUnitId = RewardAdUnitID;
|
|||
|
|
|
|||
|
|
// 线上激励视频广告位ID
|
|||
|
|
public static string RewardAdUnitID = "oa31oo12lhr20333ed";
|
|||
|
|
|
|||
|
|
public static Dictionary<string, HCNativeAdUnit> NativeAdUnitIDDictionary = new Dictionary<string, HCNativeAdUnit>
|
|||
|
|
{
|
|||
|
|
};
|
|||
|
|
public static string NativeAdUnitID1 = "test-1";
|
|||
|
|
public static string NativeAdUnitID2 = "test-2";
|
|||
|
|
public static string NativeAdUnitID3 = "test-3";
|
|||
|
|
public static string NativeAdUnitID4 = "test-4";
|
|||
|
|
#else
|
|||
|
|
// 数数埋点配置, 如果不配置,不会进行始化
|
|||
|
|
public static string TDAppId = "b14660acc69f454ab45a5c8182777724"; //demo id = b14660acc69f454ab45a5c8182777724
|
|||
|
|
public static string TDServerUrl = "https://ss.zolnm.com"; //
|
|||
|
|
// Ads
|
|||
|
|
public static string BytedanceAppId = "tt593c2f81c60de1cf07";
|
|||
|
|
|
|||
|
|
public static string BannerAdUnitID = "2klk6483gike22jjf4";
|
|||
|
|
|
|||
|
|
public static string InterAdUnitID = "57cne4qci2g2h3g6lm";
|
|||
|
|
|
|||
|
|
// 提审模式下激励视频广告位ID
|
|||
|
|
public static string ReviewRewardUnitId = RewardAdUnitID;
|
|||
|
|
|
|||
|
|
// 线上激励视频广告位ID
|
|||
|
|
public static string RewardAdUnitID = "16568k956ll11k514l";
|
|||
|
|
|
|||
|
|
public static Dictionary<string, HCNativeAdUnit> NativeAdUnitIDDictionary = new Dictionary<string, HCNativeAdUnit>
|
|||
|
|
{
|
|||
|
|
};
|
|||
|
|
public static string NativeAdUnitID1 = "test-1";
|
|||
|
|
public static string NativeAdUnitID2 = "test-2";
|
|||
|
|
public static string NativeAdUnitID3 = "test-3";
|
|||
|
|
public static string NativeAdUnitID4 = "test-4";
|
|||
|
|
|
|||
|
|
#endif
|
|||
|
|
}
|
|||
|
|
}
|