Commit 4725f237 authored by maxiaoliang's avatar maxiaoliang

添加引导第四步

parent 8b0530b7
Assets/Game/Main/Resource/Guide/手.png

6.85 KB | W: | H:

Assets/Game/Main/Resource/Guide/手.png

5.18 KB | W: | H:

Assets/Game/Main/Resource/Guide/手.png
Assets/Game/Main/Resource/Guide/手.png
Assets/Game/Main/Resource/Guide/手.png
Assets/Game/Main/Resource/Guide/手.png
  • 2-up
  • Swipe
  • Onion skin
fileFormatVersion: 2
guid: ff8fe5f5113094fbbb0ef45fa9265048
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:
This diff is collapsed.
...@@ -9,6 +9,7 @@ public class Guide : MonoBehaviour ...@@ -9,6 +9,7 @@ public class Guide : MonoBehaviour
public GameObject Car4Obj; public GameObject Car4Obj;
public GameObject flyBox; public GameObject flyBox;
public GameObject step4, step5; public GameObject step4, step5;
public GameObject Step5, Step6, Step7, Step8, Step9, Step10;
private int carListNum; private int carListNum;
public static Guide guide; public static Guide guide;
private bool isStartShow = false; private bool isStartShow = false;
...@@ -126,18 +127,18 @@ public class Guide : MonoBehaviour ...@@ -126,18 +127,18 @@ public class Guide : MonoBehaviour
carListNum--; carListNum--;
Debug.Log("点击第3步"); Debug.Log("点击第3步");
DissmissGuide(false); DissmissGuide(false);
flyBox.SetActive(true); // flyBox.SetActive(true);
PlayerDataControl.Instance.IsNewUser = false;
//新版本去掉第四和第五步 //新版本去掉第四和第五步
//if (PlayerPrefs.GetInt(step4Key, 0) == 0) if (PlayerPrefs.GetInt(step4Key, 0) == 0)
//{ {
// if (PlayerDataControl.Instance.IsNewUser) if (PlayerDataControl.Instance.IsNewUser)
// { {
// PlayerPrefs.SetInt(step4Key, 1); PlayerPrefs.SetInt(step4Key, 1);
// step4.SetActive(true); step4.SetActive(true);
// plantHand.SetActive(false); plantHand.SetActive(false);
// } }
//} }
//if (PlayerPrefs.GetInt(step4Key, 0) == 0) //if (PlayerPrefs.GetInt(step4Key, 0) == 0)
//{ //{
// if (PlayerDataControl.Instance.IsNewUser) // if (PlayerDataControl.Instance.IsNewUser)
...@@ -153,20 +154,22 @@ public class Guide : MonoBehaviour ...@@ -153,20 +154,22 @@ public class Guide : MonoBehaviour
{ {
Debug.Log("点击第4步"); Debug.Log("点击第4步");
DissmissGuide(false); DissmissGuide(false);
PlayerDataControl.Instance.IsNewUser = false;
flyBox.SetActive(true);
//Car4Obj.transform.parent = Car4Parent.transform; //Car4Obj.transform.parent = Car4Parent.transform;
if (PlayerPrefs.GetInt(step5Key, 0) == 0) //if (PlayerPrefs.GetInt(step5Key, 0) == 0)
{ //{
if (PlayerDataControl.Instance.IsNewUser) // if (PlayerDataControl.Instance.IsNewUser)
{ // {
PlayerPrefs.SetInt(step5Key, 1); // PlayerPrefs.SetInt(step5Key, 1);
Debug.Log("显示第5步"); // Debug.Log("显示第5步");
step5.SetActive(true); // // step5.SetActive(true);
// ObjStep5.SetActive(true); // // ObjStep5.SetActive(true);
// hand_5.SetActive(true); // // hand_5.SetActive(true);
} // }
} //}
// step5.SetActive(true); // step5.SetActive(true);
flyBox.SetActive(true);
//if (PlayerDataControl.Instance.IsNewUser) //if (PlayerDataControl.Instance.IsNewUser)
//{ //{
// ObjStep6.SetActive(true); // ObjStep6.SetActive(true);
......
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