运行
 
• 
     Unity运行正常 
   
• 
     手机development build运行正常 
   
• 
     publish build运行死机:查找问题, 
   
1. 
       删除logo.unity的 banner(广告这个不需要,直接删除), sdk,和sdkcore,再运行正常 
     
2. 
       保留sdk,运行正常, 问题出在sdkcore 
     
3. 
       查看挂载的corecmp脚本,打Log 
     
4. public static void loadLibs()
            {
                if (Application.isEditor) return;

#if UNITY_ANDROID
                AndroidJavaClass loader_class = new AndroidJavaClass("com.hcsdk.unity.LibraryLoader");
                loader_class.CallStatic("load");
#endif
            }
1. 
     找到hcsdk.jar解开,此class,吧这块注释掉 
   
 
 
 sdk加入
 
• 
     按untiy cmcc加入sdk 
    位置 
   
 
 
 计费点加入
 
• 
     要修改逻辑,购买汽车… 
   
• 
     找到unlock按钮,运行到garage找在Hierarchy中搜索unlock,或者点开中间的scene(运行的时候默认在game),找到该按钮 
   
• // Add 31.05.2013
				//if(max_coins >= cars_price[current_car_id] || JCar.credits >= cars_price[current_car_id])
				//{
                	buy_car_button.SetActive(true);
					lock_button.SetActive(false);
					up_car_cost.text = "" + cars_price[current_car_id];
				/*}
				else
				{
					buy_car_button.SetActive(false);
					lock_button.SetActive(true);
					up_car_cost.text = "";
				}*/
				// end add
                //up_car_cost.text = "" + cars_price[current_car_id];
• 
     调整价格,通过上面的方式,点开价格文本up_car_cost,搜索后cars_price,找到并修改价格在preload,scene中的maincanvas挂载的menu.cs中配置 
   
• 
     修改menu.cs的MaxCoins(),改为10000 
   
• 
     关闭购买硬币 找到Donate,去掉勾选,让他不显示,搜索“donate”注释掉相关代码 
   
• 
     在Menu.cs中增加 public string[] car_billing_indexs;在编辑器中增加000,001,002,003,四个被购买的车子的index 
   
• 
     在“buy_car”中修改, CmBillingResult.Billing(car_billing_indexs[current_car_id]); 
   
• else if (CmBillingAndroid.BillingResult.SUCCESS==results[1])
		{
			// Continue
			
			PlayerPrefs.SetInt("Car" + Menu.current_car_id + ".Bought", 1);
		     JCar.menu.UpgradeShop();
		}
• 注意 CmBillingResult.Instance.init();一定要在购买前调用一下,这样,购买回调的对象才会被创建
• 
     三次如果没购买该关的车,跳出购买 
   
• 
     改成第一关失败三次开启全世界购买,其他关失败三次开启车子购买 
   
• 
     找到Menu.cs下Select_tracks_locks 
   
• bool isUnlockAll = PlayerPrefs.GetInt("IsUnloackAll") == 1?true:false;//--yx.xiong
        if (isFreeRide || isUnlockAll)
• 
     修改CmBillingResult 增加IsUnloackAll的购买 
   
• 
     修改汽车的购买idx从002开始 
   
• 
     修改关卡失败的购买biiling( 
   
• 
     增加关卡失败计数levelCnts数组 
   
• 
     修改jcar中finishPause的购买部分 
   
• if (PlayerPrefs.GetInt("Level3") != 0 || PlayerPrefs.GetInt("IsUnloackAll") == 1)
 
 
 声音选项修改
 
• if (PlayerPrefs.GetInt("isSound") == 0) isSound = true;
        else isSound = false;

        if (PlayerPrefs.GetInt("isMusic") == 0) isMusic = true;
        else isMusic = false;
• if(CmBillingAndroid.Instance.IsMusicEnabled()){
			isSound = true;
			isMusic = true;
		}else{
			isSound = false;
			isMusic = false;
		}
 
 
 退出游戏修改
 
• //--yx.xiong  ToNextMenu(exit_window);
					CmBillingAndroid.Instance.ExitWithUI();
• 
     将rs联网按钮改成退出游戏按钮 
   
1. 
       找到Translate.cs(通过setActive) 
     
2. 
       将twitter_button,和fb_button改成Gameobject 
     
3. 类型修改后一定要到编辑器中重新选择对象,即使看到该对象存在,也要点击下重新选择该对象,类型才会真正改变
4. if (system_lang != "Russian" && system_lang != "Ukrainian")
        {
            vkontakte_button.SetActive(false);
            vkontakte_button_share.SetActive(false);
//            facebook_button.localPosition = new Vector3(facebook_button.localPosition.x + 0.8f, facebook_button.localPosition.y, facebook_button.localPosition.z);
  //          twitter_button.localPosition = new Vector3(twitter_button.localPosition.x + 0.8f, twitter_button.localPosition.y, twitter_button.localPosition.z);
	//		rss_button.localPosition = new Vector3(rss_button.localPosition.x + 0.8f, rss_button.localPosition.y, rss_button.localPosition.z);
        }
		
		vkontakte_button.SetActive(false);
        vkontakte_button_share.SetActive(false);
		twitter_button.SetActive(false);
		
		rss_button.localPosition = new Vector3(rss_button.localPosition.x + 1.6f, rss_button.localPosition.y, rss_button.localPosition.z);
		facebook_button.transform.localPosition = new Vector3(	facebook_button.transform.localPosition.x + 1.6f, 	facebook_button.transform.localPosition.y, 	facebook_button.transform.localPosition.z);
		//--yx.xiong
5. 
       在case “main_vk”:中调用CmBillingAndroid.Instance.ExitWithUI(); 
     
 
 
 排行榜无法点击问题修改
 
• 
     DllNotFoundException: hcsdkunity 
   
• 等待fenc提供此dll
 
 
 汉化
 
• 
     preload scene的translate中的languages,size增加到10,加入Chinese 
   
• 
     修改translate.txt,加入中文 
   
• 
     将中文字体放入Font目录,设置为Dynamic,找到所有文字,修改font,为该font 
   
• 
     将Translate。cs中的localize改为 Localize(“Chinese”); 
   
 
 
 logo页面删除
 
• 
     将logo页面删除到一个,修改update直接跳到nextlevel 
   
• 
     用等待页面替换logo页面, 
   
 
 
 帮助修改
 
• 
     将yxsplash.jar拷贝到android目录,以及helpaboutshow.cs 
   
• 
     在点fb的时候调用Helpaboutshow的showhelp 
   
• 游戏帮助:
玩家将驾驶装备武器和装甲的巨型武装车辆,去碾压路上的所有僵尸。用车上的武器横扫,用你的车轮去碾碎它们。可以在车库中挑选不同的车辆并进行升级。
游戏采用虚拟按键操作。屏幕左下方按键为射击按键,屏幕右下方两个按键分别为氮气加速按键与油门按键。
• HeroCraft, Ltd为《碾压僵尸大赛》游戏的软件著作权人。HeroCraft, Ltd授权北京第九星光文化传媒有限公司在中国大陆从事本游戏的商业运营。北京第九星光文化传媒有限公司授权中国移动通信集团江苏有限公

司在中国大陆从事本游戏的商业运营,同时负责处理本游戏运营的相关客户服务及技术支持。
北京第九星光文化传媒有限公司
客服电话:010-58208611
客服邮箱: kefu@8522.com
 
 
 其他
 
• 
     DONATE = 对不起,您没有足够的金币购买它,请多赚钱 文字超出,把对不起删除 
   
• 
     去除广告isAdv设置成false 
   
• 
     注掉unblock_ok“的动作 
   
• 
     UNBLOCK_LEVEL减少文字 
   
• 
     在preload scene maincamera下的Menu.cs脚本中修改五个车子的中文名 
   
 
 
 购买hunter车子,翻车问题
 
• 
     不要在billingResult中直接upgradeshop 
   
• 
     在menu中加入needUpgradeShop,update中,刷新shop,在CmbillingResult购买成功时加入Car.menu.needUpgradeShop = true; 
   
 
 
 更多游戏
 
• 
     把main_vk”的功能修改为viewmoregame 
   
 
 
 替换游戏名称
 
• 
     play setting中,还有 preload scene中c_zombie_derby文本和关于中的游戏名称 
   
 
 
 测试后修改
 
• 
     在Preload scene中找到 final_window下的f_text,设置字体为f05 
   
• 
     修改翻译将LVL改成有关卡改成等级 
   
• 
     修改购买汽车时候的icon图为人民币标志 
   
• 
     修改购买为重复购买 CMBillingResult中的dobilling,第二个参数isRepeated设为true,去掉active判定 
   
 
 
 修改2
 
• 
     CMBillingResult购买车的判断通过result[0](购买的index)来判断是那辆车 
   
• 
     修改颜色文字换成是否涂装 
   
• 
     修改购买点变元 
   
• 
     修改coins*4改成coin*2 
   
 
 
 新SDK修改
 
• 
     将asserts中的cplog,splog图片取出,替换新的assets,再将图片放回 
   
• 
     替换res下的draw-hpi 
   
• 
     替换values,注意g_string里面的入口要保留 
   
• 
     加入带cmgameapplicaiton的splash.jar 
   
• 
     拷贝libs下的文件,要放到armv7下,因为这个游戏只支持armv7 
   
• 
     把cmbilling.jar删除 
   
 
 
 增加每日登陆
 
• 
     增加daily_reward界面 
   
• 
     在Menu中,添加 public TextMesh daily_time_text; public GameObject daily_window; 
   
• 
     在maincamera中指定这两个为编辑器界面上的对应对象 
   
• case "daily_ok":{
			
				daily_window.SetActive(false);
				break;
			}
• 
     增加获取金币的时间 
   
 
 
 CT
 
 * 见babelrunning ct部分