Commit ede13218 authored by zhangzhe's avatar zhangzhe

iOS修改

parent 291029ba
......@@ -56,13 +56,16 @@ public class LeeMainController : MonoBehaviour
});
}
// 刷新首页上面的手指显示
GameObject.Find("TitleBG2").transform.parent.Find("hand1").gameObject.SetActive(false);
GameObject.Find("TitleBG2").transform.parent.Find("hand2").gameObject.SetActive(false);
GameObject.Find("TitleBG2").transform.parent.Find("hand3").gameObject.SetActive(false);
if (handIndex != -1)
if (Constant.Instance.shubiao)
{
GameObject.Find("TitleBG2").transform.parent.Find("hand" + (handIndex + 1)).gameObject.SetActive(FastPlanting.Instance().CheckIfCanPlanting() && !Guide.guide.IfHaveGuide());
// 刷新首页上面的手指显示
GameObject.Find("TitleBG2").transform.parent.Find("hand1").gameObject.SetActive(false);
GameObject.Find("TitleBG2").transform.parent.Find("hand2").gameObject.SetActive(false);
GameObject.Find("TitleBG2").transform.parent.Find("hand3").gameObject.SetActive(false);
if (handIndex != -1)
{
GameObject.Find("TitleBG2").transform.parent.Find("hand" + (handIndex + 1)).gameObject.SetActive(FastPlanting.Instance().CheckIfCanPlanting() && !Guide.guide.IfHaveGuide());
}
}
});
......
fileFormatVersion: 2
guid: c8769dd604faf4fb9b727d8d2fe57934
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
......@@ -382,8 +382,8 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 788e2a3a769e26b459cd63d4a5de7d76, type: 3}
m_Name:
m_EditorClassIdentifier:
isTest: 0
isShowLog: 0
isTest: 1
isShowLog: 1
XyDialog: {fileID: 0}
--- !u!1 &2010092450
GameObject:
......
......@@ -26,7 +26,7 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View
{
#if UNITY_EDITOR
AppConfig.Instance.InitProgect(true, true, "43d2b0f567e422b8");
Constant.Instance.shubiao = true;
Constant.Instance.shubiao = false;
#endif
mPresenter = new HomePresenter(this);
EventCenter.AddListener(MyEventType.UPDATE_CAR_LIST_DATA, OnUpdateCarListData);
......@@ -79,8 +79,12 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View
// 点击金币事件
Destroy(transform.Find("Title/bg").GetComponent<Button>());
// 种菜任务
GameObject TitleBG2 = transform.Find("Title/TitleBG2").gameObject;
TitleBG2.SetActive(Constant.Instance.shubiao);
// 幸运转盘
GameObject luckyzhuanpan = transform.Find("Title/luckyzhuanpan").gameObject;
GameObject luckyzhuanpan = transform.Find("BottomFun/luckyzhuanpan").gameObject;
luckyzhuanpan.SetActive(Constant.Instance.shubiao);
// 我的礼包
......@@ -99,6 +103,10 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View
GameObject pigbank = transform.Find("Title/pigbank").gameObject;
pigbank.SetActive(Constant.Instance.shubiao);
// 成功兑换横幅
GameObject horselight = transform.Find("Title/horselight").gameObject;
horselight.SetActive(Constant.Instance.shubiao);
// 收货奖励
GameObject Harvestreward = transform.Find("BottomFun/Harvestreward").gameObject;
Harvestreward.SetActive(Constant.Instance.shubiao);
......@@ -128,8 +136,12 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View
baiyuanenvelope.SetActive(Constant.Instance.shubiao);
// 飞行道具
GameObject flyBox = transform.Find("FlyBox/box").gameObject;
flyBox.SetActive(Constant.Instance.shubiao);
GameObject flyBoxBox = transform.Find("FlyBox/box").gameObject;
flyBoxBox.SetActive(Constant.Instance.shubiao);
// 飞行道具
GameObject flyBoxImage = transform.Find("FlyBox/Image").gameObject;
flyBoxImage.SetActive(Constant.Instance.shubiao);
}
// 判断是否是刘海屏
......@@ -153,7 +165,7 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View
if (!Constant.Instance.shubiao)
{
transform.Find("BottomFun/Dailytasks").GetComponent<RectTransform>().anchoredPosition = new Vector2(285, 1170);
//transform.Find("BottomFun/Dailytasks").GetComponent<RectTransform>().anchoredPosition = new Vector2(285, 1170);
}
}
......
......@@ -9,9 +9,9 @@ public class StartControl : MonoBehaviour
public GameObject[] HideObjs;
private void Awake()
{
#if UNITY_EDITOR
AppConfig.Instance.InitProgect(true, true, "43d2b0f567e422b8");
#endif
//#if UNITY_EDITOR
// AppConfig.Instance.InitProgect(true, true, "43d2b0f567e422b8");
//#endif
//ShopCheckApp();
}
private void Start()
......
......@@ -19,7 +19,7 @@
"dependencies": {
"com.unity.ugui": "1.0.0"
},
"url": "https://packages.unity.cn"
"url": "https://packages.unity.com"
},
"com.unity.analytics": {
"version": "3.3.5",
......@@ -28,21 +28,21 @@
"dependencies": {
"com.unity.ugui": "1.0.0"
},
"url": "https://packages.unity.cn"
"url": "https://packages.unity.com"
},
"com.unity.collab-proxy": {
"version": "1.2.16",
"depth": 0,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.cn"
"url": "https://packages.unity.com"
},
"com.unity.ext.nunit": {
"version": "1.0.6",
"depth": 1,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.cn"
"url": "https://packages.unity.com"
},
"com.unity.ide.rider": {
"version": "1.1.4",
......@@ -51,14 +51,14 @@
"dependencies": {
"com.unity.test-framework": "1.1.1"
},
"url": "https://packages.unity.cn"
"url": "https://packages.unity.com"
},
"com.unity.ide.vscode": {
"version": "1.2.3",
"depth": 0,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.cn"
"url": "https://packages.unity.com"
},
"com.unity.multiplayer-hlapi": {
"version": "1.0.8",
......@@ -67,7 +67,7 @@
"dependencies": {
"nuget.mono-cecil": "0.1.6-preview"
},
"url": "https://packages.unity.cn"
"url": "https://packages.unity.com"
},
"com.unity.purchasing": {
"version": "2.2.1",
......@@ -76,7 +76,7 @@
"dependencies": {
"com.unity.ugui": "1.0.0"
},
"url": "https://packages.unity.cn"
"url": "https://packages.unity.com"
},
"com.unity.test-framework": {
"version": "1.1.20",
......@@ -87,7 +87,7 @@
"com.unity.modules.imgui": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0"
},
"url": "https://packages.unity.cn"
"url": "https://packages.unity.com"
},
"com.unity.textmeshpro": {
"version": "2.1.1",
......@@ -96,14 +96,14 @@
"dependencies": {
"com.unity.ugui": "1.0.0"
},
"url": "https://packages.unity.cn"
"url": "https://packages.unity.com"
},
"com.unity.timeline": {
"version": "1.2.17",
"depth": 0,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.cn"
"url": "https://packages.unity.com"
},
"com.unity.ugui": {
"version": "1.0.0",
......@@ -122,14 +122,14 @@
"com.unity.modules.vr": "1.0.0",
"com.unity.modules.xr": "1.0.0"
},
"url": "https://packages.unity.cn"
"url": "https://packages.unity.com"
},
"nuget.mono-cecil": {
"version": "0.1.6-preview",
"depth": 1,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.cn"
"url": "https://packages.unity.com"
},
"com.unity.modules.ai": {
"version": "1.0.0",
......
......@@ -41,12 +41,6 @@ PlayerSettings:
height: 1
m_SplashScreenLogos: []
m_VirtualRealitySplashScreen: {fileID: 0}
m_ShowUnitySplashAds: 0
m_AdsAndroidGameId:
m_AdsIosGameId:
m_ShowSplashAdsSlogan: 0
m_SloganImage: {fileID: 0}
m_SloganHeight: 150
m_HolographicTrackingLossScreen: {fileID: 0}
defaultScreenWidth: 1024
defaultScreenHeight: 768
......@@ -124,7 +118,6 @@ PlayerSettings:
vulkanNumSwapchainBuffers: 3
vulkanEnableSetSRGBWrite: 0
vulkanEnableLateAcquireNextImage: 0
useSecurityBuild: 0
m_SupportedAspectRatios:
4:3: 1
5:4: 1
......@@ -178,7 +171,7 @@ PlayerSettings:
Android: com.ym.cscmnq
iPhone: com.ym.simulator
buildNumber:
iPhone: 6
iPhone: 0
AndroidBundleVersionCode: 11
AndroidMinSdkVersion: 21
AndroidTargetSdkVersion: 0
......@@ -508,7 +501,6 @@ PlayerSettings:
m_Kind: 4
m_SubKind: App Store
m_BuildTargetBatching: []
m_BuildTargetEncrypting: []
m_BuildTargetGraphicsJobs:
- m_BuildTarget: MacStandaloneSupport
m_GraphicsJobs: 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment