91 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			91 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			C#
		
	
	
	
| using System.Collections;
 | ||
| using System.Collections.Generic;
 | ||
| using UnityEngine;
 | ||
| 
 | ||
| public static class StaticOtherConfig
 | ||
| {
 | ||
|     #region 宏定义介绍
 | ||
| 
 | ||
|     /*
 | ||
|      NO_SDK : 定义此宏后,工程内若没有sdk相关库文件也不会引起报错
 | ||
|      NORMAL_BANNER : 普通banner
 | ||
|      NATIVE_BANNER : native拼banner
 | ||
|      
 | ||
|      */
 | ||
| 
 | ||
|     #endregion
 | ||
| 
 | ||
|     /// <summary>
 | ||
|     /// 是否打印debug日志
 | ||
|     /// </summary>
 | ||
|     public static bool IsDebugLog = true;
 | ||
| 
 | ||
| 
 | ||
|     #region 推送相关
 | ||
| 
 | ||
|     /// <summary>
 | ||
|     /// 本地推送功能开关
 | ||
|     /// </summary>
 | ||
|     public const bool LocalNotitcifaction_Switch = true;
 | ||
| 
 | ||
|     /// <summary>
 | ||
|     /// 推送内容
 | ||
|     /// 明天/第3、5、7天/第4、6、8天,从三句话中随机出来一句
 | ||
|     /// 中文、英文 
 | ||
|     /// </summary>
 | ||
|     public const string MorrowMsgCN = "上一次的关卡还没通过,不来试试吗?|||最新的关卡已经更新,手快有手慢无,赶紧来试试!|||有一只小鸡仔在等你,速来!";
 | ||
|     public const string Day357MsgCN = "拜托!尖叫吧小鸡仔真的好玩|||高智商玩家的选择,能过20关的都不是一般人|||今日游戏已开启!为了自己而战!";
 | ||
|     public const string Day468MsgCN = "游戏时间到了,赶快玩一把!|||敢来测测你的游戏水平吗?|||这一关隔壁老王都过了,你还没过?";
 | ||
| 
 | ||
|     public const string MorrowMsgEN = "I keep getting beat by enemies. COME HELP!!|||Come and expand your territory|||I can't win this game without your help";
 | ||
|     public const string Day357MsgEN = "For our homeland, you must defeat the enemy!|||New challenge has been unlocked.|||You are a true warrior who defeated the enemy";
 | ||
|     public const string Day468MsgEN = "Help me repel the enemy, only you can do it!|||There are too many enemies, what should I do?|||New reward is ready, go online to claim it!";
 | ||
| 
 | ||
|     /// <summary>
 | ||
|     /// 推送时间
 | ||
|     ///
 | ||
|     /// HourNum = 19; MinuteNum = 10; 即 19:10推送通知
 | ||
|     /// </summary>
 | ||
|     ///
 | ||
|     // 正常次日同时间点触发推送
 | ||
|     // 可配置 如果晚上10点到早上6点登录时,次日推送时间,默认为晚上22点
 | ||
|     public const int MorrowHourNum = 22;
 | ||
|     public const int MorrowMinuteNum = 0;
 | ||
| 
 | ||
|     // 第3、5、7天推送时间:小时:分钟
 | ||
|     public const int Day357HourNum = 19;
 | ||
|     public const int Day357MinuteNum = 24;
 | ||
| 
 | ||
|     // 第4、6、8天推送时间:小时:分钟
 | ||
|     public const int Day468HourNum = 20;
 | ||
|     public const int Day468MinuteNum = 24;
 | ||
| 
 | ||
|     #endregion
 | ||
| 
 | ||
|     #region 是否延迟初始化Tenjin
 | ||
| 
 | ||
|     /// <summary>
 | ||
|     /// 是否延迟初始化Tenjin开关
 | ||
|     /// 
 | ||
|     /// 只对CN版本有效
 | ||
|     /// 正常为False
 | ||
|     /// </summary>
 | ||
|     public const bool InitTenjinLater_Switch = true;
 | ||
| 
 | ||
|     #endregion
 | ||
| 
 | ||
|     #region 排行榜功能
 | ||
| 
 | ||
|     /// <summary>
 | ||
|     /// 排行榜功能开关
 | ||
|     /// </summary>
 | ||
|     public const bool LeaderBoard_Switch = false;
 | ||
| 
 | ||
|     /// <summary>
 | ||
|     /// 排行榜ID (Appstore后台创建的)
 | ||
|     /// </summary>
 | ||
|     public const string LeaderBoardId = "BossFightScore";
 | ||
| 
 | ||
|     #endregion
 | ||
| }
 |