Commit dbb38f2b authored by zhangzhe's avatar zhangzhe

修改全体加速

parent 2d710dfe
...@@ -82,6 +82,6 @@ Material: ...@@ -82,6 +82,6 @@ Material:
- _UseUIAlphaClip: 0 - _UseUIAlphaClip: 0
- _ZWrite: 1 - _ZWrite: 1
m_Colors: m_Colors:
- _Center: {r: 0, g: -294, b: 0, a: 0} - _Center: {r: 0, g: 25, b: 0, a: 0}
- _Color: {r: 1, g: 1, b: 1, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1} - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
fileFormatVersion: 2
guid: 530e79a3a89ab4ef885f28cfe6b5bbd6
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
...@@ -1545,6 +1545,7 @@ RectTransform: ...@@ -1545,6 +1545,7 @@ RectTransform:
- {fileID: 1192815124} - {fileID: 1192815124}
- {fileID: 700544936} - {fileID: 700544936}
- {fileID: 239550685} - {fileID: 239550685}
- {fileID: 1260373416}
m_Father: {fileID: 1477235242} m_Father: {fileID: 1477235242}
m_RootOrder: 1 m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
...@@ -7133,7 +7134,7 @@ GameObject: ...@@ -7133,7 +7134,7 @@ GameObject:
- component: {fileID: 239550686} - component: {fileID: 239550686}
- component: {fileID: 239550688} - component: {fileID: 239550688}
m_Layer: 5 m_Layer: 5
m_Name: Image m_Name: FeedButton
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
...@@ -37726,6 +37727,135 @@ MonoBehaviour: ...@@ -37726,6 +37727,135 @@ MonoBehaviour:
m_StringArgument: m_StringArgument:
m_BoolArgument: 0 m_BoolArgument: 0
m_CallState: 2 m_CallState: 2
--- !u!1 &1260373415
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1260373416}
- component: {fileID: 1260373419}
- component: {fileID: 1260373418}
- component: {fileID: 1260373417}
m_Layer: 5
m_Name: NewUserFeedButton
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1260373416
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1260373415}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 47444852}
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: -244}
m_SizeDelta: {x: 416, y: 108}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1260373417
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1260373415}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 1260373418}
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 2052625161}
m_MethodName: useSpeedRain
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &1260373418
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1260373415}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 530e79a3a89ab4ef885f28cfe6b5bbd6, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &1260373419
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1260373415}
m_CullTransparentMesh: 0
--- !u!1 &1260812809 --- !u!1 &1260812809
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -580,9 +580,13 @@ public class DialogControl : MonoBehaviour ...@@ -580,9 +580,13 @@ public class DialogControl : MonoBehaviour
AllSpeedDialog.SetActive(true); AllSpeedDialog.SetActive(true);
allSpeedDesc.text = "所有小猪立即获得2倍增长值"; allSpeedDesc.text = "所有小猪立即获得2倍增长值";
useAllSpeedByVideoNumTv.text = "每天0点重置视频次数(剩余" + bean.todayVideoRemainingNum + "次)"; useAllSpeedByVideoNumTv.text = "每天0点重置视频次数(剩余" + bean.todayVideoRemainingNum + "次)";
//#if UNITY_IOS
// moveAllSpeedDialog(); AllSpeedDialog.transform.Find("Image/FeedButton").gameObject.SetActive(!PlayerDataControl.Instance.IsNewUser);
//#else AllSpeedDialog.transform.Find("Image/NewUserFeedButton").gameObject.SetActive(PlayerDataControl.Instance.IsNewUser);
//#if UNITY_IOS
// moveAllSpeedDialog();
//#else
Invoke("showAd", 0.5f); Invoke("showAd", 0.5f);
Invoke("moveAllSpeedDialog", 1f); Invoke("moveAllSpeedDialog", 1f);
//#endif //#endif
...@@ -609,6 +613,8 @@ public class DialogControl : MonoBehaviour ...@@ -609,6 +613,8 @@ public class DialogControl : MonoBehaviour
{ {
AdUtils.showInterAd("qtjs", new InterstitialAdListener()); AdUtils.showInterAd("qtjs", new InterstitialAdListener());
} }
} }
private void moveAllSpeedDialog() private void moveAllSpeedDialog()
{ {
......
...@@ -25,6 +25,11 @@ public class FastPlanting : SingletonMono<FastPlanting> ...@@ -25,6 +25,11 @@ public class FastPlanting : SingletonMono<FastPlanting>
foreach (var item in landListDictionary.Values) foreach (var item in landListDictionary.Values)
{ {
if (item.status == 4)
{
ifLocking = true;
}
if (item.status == 1) if (item.status == 1)
{ {
ifCanPlanting = true; ifCanPlanting = true;
...@@ -46,11 +51,6 @@ public class FastPlanting : SingletonMono<FastPlanting> ...@@ -46,11 +51,6 @@ public class FastPlanting : SingletonMono<FastPlanting>
return; return;
} }
if (item.status == 0)
{
ifLocking = true;
}
} }
if (!ifCanPlanting) if (!ifCanPlanting)
......
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