Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
W
wdlc_mjb_unity
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王雪伟
wdlc_mjb_unity
Commits
4725f237
Commit
4725f237
authored
Jun 22, 2021
by
maxiaoliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加引导第四步
parent
8b0530b7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
510 additions
and
67 deletions
+510
-67
手.png
Assets/Game/Main/Resource/Guide/手.png
+0
-0
手指 拷贝.png
Assets/Game/Main/Resource/Guide/手指 拷贝.png
+0
-0
手指 拷贝.png.meta
Assets/Game/Main/Resource/Guide/手指 拷贝.png.meta
+92
-0
CrazyCar.unity
Assets/Game/Main/Scenes/CrazyCar.unity
+391
-43
Guide.cs
Assets/Game/Main/Scripts/Utils/Guide.cs
+27
-24
No files found.
Assets/Game/Main/Resource/Guide/手.png
View replaced file @
8b0530b7
View file @
4725f237
6.85 KB
|
W:
|
H:
5.18 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Assets/Game/Main/Resource/Guide/手指 拷贝.png
0 → 100644
View file @
4725f237
5.21 KB
Assets/Game/Main/Resource/Guide/手指 拷贝.png.meta
0 → 100644
View file @
4725f237
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:
Assets/Game/Main/Scenes/CrazyCar.unity
View file @
4725f237
This diff is collapsed.
Click to expand it.
Assets/Game/Main/Scripts/Utils/Guide.cs
View file @
4725f237
...
@@ -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
);
//Car4Obj.transform.parent = Car4Parent.transform;
PlayerDataControl
.
Instance
.
IsNewUser
=
false
;
if
(
PlayerPrefs
.
GetInt
(
step5Key
,
0
)
==
0
)
{
if
(
PlayerDataControl
.
Instance
.
IsNewUser
)
{
PlayerPrefs
.
SetInt
(
step5Key
,
1
);
Debug
.
Log
(
"显示第5步"
);
step5
.
SetActive
(
true
);
// ObjStep5.SetActive(true);
// hand_5.SetActive(true);
}
}
// step5.SetActive(true);
flyBox
.
SetActive
(
true
);
flyBox
.
SetActive
(
true
);
//Car4Obj.transform.parent = Car4Parent.transform;
//if (PlayerPrefs.GetInt(step5Key, 0) == 0)
//{
// if (PlayerDataControl.Instance.IsNewUser)
// {
// PlayerPrefs.SetInt(step5Key, 1);
// Debug.Log("显示第5步");
// // step5.SetActive(true);
// // ObjStep5.SetActive(true);
// // hand_5.SetActive(true);
// }
//}
// step5.SetActive(true);
//if (PlayerDataControl.Instance.IsNewUser)
//if (PlayerDataControl.Instance.IsNewUser)
//{
//{
// ObjStep6.SetActive(true);
// ObjStep6.SetActive(true);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment