조아혜

0604: adding apple mini game

Showing 287 changed files with 559 additions and 0 deletions
1 +using System.Collections;
2 +using System.Collections.Generic;
3 +using UnityEngine;
4 +using UnityEngine.SceneManagement;
5 +
6 +public class BackToMain : MonoBehaviour
7 +{
8 + // Start is called before the first frame update
9 + void Start()
10 + {
11 +
12 + }
13 +
14 + // Update is called once per frame
15 + void Update()
16 + {
17 + if (Input.GetMouseButtonDown(0))
18 + SceneManager.LoadScene("rpgpp_lt_scene_1.0");
19 + }
20 +}
1 +fileFormatVersion: 2
2 +guid: 111ebb9afeaa8ee42a590790a67ffab9
3 +MonoImporter:
4 + externalObjects: {}
5 + serializedVersion: 2
6 + defaultReferences: []
7 + executionOrder: 0
8 + icon: {instanceID: 0}
9 + userData:
10 + assetBundleName:
11 + assetBundleVariant:
1 +using System.Collections;
2 +using System.Collections.Generic;
3 +using UnityEngine;
4 +using UnityEngine.UI;
5 +using UnityEngine.EventSystems;
6 +
7 +public class GaugeIncreasing : MonoBehaviour
8 +{
9 + Slider gauge;
10 + GameObject text;
11 + GameObject afterText;
12 + GameObject cheerUp;
13 + GameObject clue;
14 + GameObject panel;
15 + GameObject apple;
16 +
17 + Color color;
18 + //Text textBlink;
19 +
20 + float timeSpan;
21 + float checkTime;
22 +
23 + // Start is called before the first frame update
24 + void Start()
25 + {
26 + gauge = GetComponent<Slider>();
27 + text = GameObject.Find("Text");
28 + afterText = GameObject.Find("AfterText");
29 + clue = GameObject.Find("Clue");
30 + panel = GameObject.Find("Panel");
31 + apple = GameObject.Find("SweetPepper");
32 + cheerUp = GameObject.Find("CheerUp");
33 + color = new Color(255f, 0, 0);
34 + timeSpan = 0.0f;
35 + checkTime = 0.1667f;
36 +
37 + afterText.SetActive(false);
38 + panel.SetActive(false);
39 + clue.SetActive(false);
40 + cheerUp.SetActive(false);
41 +
42 + }
43 +
44 + // Update is called once per frame
45 + void Update()
46 + {
47 + if (gauge.value >= 0.5f && gauge.value < 1)
48 + cheerUp.SetActive(true);
49 + else if (gauge.value >= 1)
50 + {
51 + gauge.gameObject.transform.Find("Fill Area").Find("Fill").GetComponent<Image>().color = color;
52 + apple.transform.Rotate(0, 60 * Time.deltaTime, 0);
53 + cheerUp.SetActive(false);
54 + text.SetActive(false);
55 + afterText.SetActive(true);
56 +
57 + if (Input.GetKeyDown(KeyCode.A)) //
58 + {
59 + apple.SetActive(false);
60 + clue.SetActive(true);
61 + panel.SetActive(true);
62 +
63 +
64 + }
65 + }
66 +
67 + timeSpan += Time.deltaTime;
68 + if (timeSpan > checkTime)
69 + {
70 + gauge.value += 0.01f;
71 + apple.transform.localScale += new Vector3(0.05f, 0.05f, 0.05f);
72 +
73 + timeSpan = 0;
74 + }
75 +
76 + }
77 +
78 +}
1 +fileFormatVersion: 2
2 +guid: e3964f65b22d7324ca8c0fc78f321e90
3 +MonoImporter:
4 + externalObjects: {}
5 + serializedVersion: 2
6 + defaultReferences: []
7 + executionOrder: 0
8 + icon: {instanceID: 0}
9 + userData:
10 + assetBundleName:
11 + assetBundleVariant:
This diff could not be displayed because it is too large.
1 +fileFormatVersion: 2
2 +guid: 1420fcd9343786748b3e874b494f85f0
3 +DefaultImporter:
4 + externalObjects: {}
5 + userData:
6 + assetBundleName:
7 + assetBundleVariant:
1 +%YAML 1.1
2 +%TAG !u! tag:unity3d.com,2011:
3 +--- !u!850595691 &4890085278179872738
4 +LightingSettings:
5 + m_ObjectHideFlags: 0
6 + m_CorrespondingSourceObject: {fileID: 0}
7 + m_PrefabInstance: {fileID: 0}
8 + m_PrefabAsset: {fileID: 0}
9 + m_Name: New Lighting Settings
10 + serializedVersion: 3
11 + m_GIWorkflowMode: 0
12 + m_EnableBakedLightmaps: 1
13 + m_EnableRealtimeLightmaps: 0
14 + m_RealtimeEnvironmentLighting: 1
15 + m_BounceScale: 1
16 + m_AlbedoBoost: 1
17 + m_IndirectOutputScale: 1
18 + m_UsingShadowmask: 1
19 + m_BakeBackend: 1
20 + m_LightmapMaxSize: 1024
21 + m_BakeResolution: 40
22 + m_Padding: 2
23 + m_TextureCompression: 1
24 + m_AO: 0
25 + m_AOMaxDistance: 1
26 + m_CompAOExponent: 1
27 + m_CompAOExponentDirect: 0
28 + m_ExtractAO: 0
29 + m_MixedBakeMode: 2
30 + m_LightmapsBakeMode: 1
31 + m_FilterMode: 1
32 + m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000, type: 0}
33 + m_ExportTrainingData: 0
34 + m_TrainingDataDestination: TrainingData
35 + m_RealtimeResolution: 2
36 + m_ForceWhiteAlbedo: 0
37 + m_ForceUpdates: 0
38 + m_FinalGather: 0
39 + m_FinalGatherRayCount: 256
40 + m_FinalGatherFiltering: 1
41 + m_PVRCulling: 1
42 + m_PVRSampling: 1
43 + m_PVRDirectSampleCount: 32
44 + m_PVRSampleCount: 512
45 + m_PVREnvironmentSampleCount: 256
46 + m_PVREnvironmentReferencePointCount: 2048
47 + m_LightProbeSampleCountMultiplier: 4
48 + m_PVRBounces: 2
49 + m_PVRMinBounces: 1
50 + m_PVREnvironmentMIS: 1
51 + m_PVRFilteringMode: 1
52 + m_PVRDenoiserTypeDirect: 1
53 + m_PVRDenoiserTypeIndirect: 1
54 + m_PVRDenoiserTypeAO: 1
55 + m_PVRFilterTypeDirect: 0
56 + m_PVRFilterTypeIndirect: 0
57 + m_PVRFilterTypeAO: 0
58 + m_PVRFilteringGaussRadiusDirect: 1
59 + m_PVRFilteringGaussRadiusIndirect: 5
60 + m_PVRFilteringGaussRadiusAO: 2
61 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5
62 + m_PVRFilteringAtrousPositionSigmaIndirect: 2
63 + m_PVRFilteringAtrousPositionSigmaAO: 1
1 +fileFormatVersion: 2
2 +guid: 74f979bee3543c04197a6f5812d3541f
3 +NativeFormatImporter:
4 + externalObjects: {}
5 + mainObjectFileID: 4890085278179872738
6 + userData:
7 + assetBundleName:
8 + assetBundleVariant:
1 +fileFormatVersion: 2
2 +guid: b829ddccb2e11fe479d2533e776fae14
3 +folderAsset: yes
4 +DefaultImporter:
5 + externalObjects: {}
6 + userData:
7 + assetBundleName:
8 + assetBundleVariant:
1 +fileFormatVersion: 2
2 +guid: 26927289feed3a240a3d2e003b116a5f
3 +NativeFormatImporter:
4 + externalObjects: {}
5 + mainObjectFileID: 112000000
6 + userData:
7 + assetBundleName:
8 + assetBundleVariant:
1 +fileFormatVersion: 2
2 +guid: f1174117d39677442ba95158a7897b7b
3 +TextureImporter:
4 + internalIDToNameTable: []
5 + externalObjects: {}
6 + serializedVersion: 11
7 + mipmaps:
8 + mipMapMode: 0
9 + enableMipMap: 1
10 + sRGBTexture: 1
11 + linearTexture: 0
12 + fadeOut: 0
13 + borderMipMap: 0
14 + mipMapsPreserveCoverage: 0
15 + alphaTestReferenceValue: 0.5
16 + mipMapFadeDistanceStart: 1
17 + mipMapFadeDistanceEnd: 3
18 + bumpmap:
19 + convertToNormalMap: 0
20 + externalNormalMap: 0
21 + heightScale: 0.25
22 + normalMapFilter: 0
23 + isReadable: 0
24 + streamingMipmaps: 0
25 + streamingMipmapsPriority: 0
26 + vTOnly: 0
27 + grayScaleToAlpha: 0
28 + generateCubemap: 6
29 + cubemapConvolution: 1
30 + seamlessCubemap: 1
31 + textureFormat: 1
32 + maxTextureSize: 2048
33 + textureSettings:
34 + serializedVersion: 2
35 + filterMode: 2
36 + aniso: 0
37 + mipBias: 0
38 + wrapU: 1
39 + wrapV: 1
40 + wrapW: 1
41 + nPOTScale: 1
42 + lightmap: 0
43 + compressionQuality: 50
44 + spriteMode: 0
45 + spriteExtrude: 1
46 + spriteMeshType: 1
47 + alignment: 0
48 + spritePivot: {x: 0.5, y: 0.5}
49 + spritePixelsToUnits: 100
50 + spriteBorder: {x: 0, y: 0, z: 0, w: 0}
51 + spriteGenerateFallbackPhysicsShape: 1
52 + alphaUsage: 1
53 + alphaIsTransparency: 0
54 + spriteTessellationDetail: -1
55 + textureType: 0
56 + textureShape: 2
57 + singleChannelComponent: 0
58 + flipbookRows: 1
59 + flipbookColumns: 1
60 + maxTextureSizeSet: 0
61 + compressionQualitySet: 0
62 + textureFormatSet: 0
63 + ignorePngGamma: 0
64 + applyGammaDecoding: 0
65 + platformSettings:
66 + - serializedVersion: 3
67 + buildTarget: DefaultTexturePlatform
68 + maxTextureSize: 2048
69 + resizeAlgorithm: 0
70 + textureFormat: -1
71 + textureCompression: 1
72 + compressionQuality: 100
73 + crunchedCompression: 0
74 + allowsAlphaSplitting: 0
75 + overridden: 0
76 + androidETC2FallbackOverride: 0
77 + forceMaximumCompressionQuality_BC6H_BC7: 0
78 + spriteSheet:
79 + serializedVersion: 2
80 + sprites: []
81 + outline: []
82 + physicsShape: []
83 + bones: []
84 + spriteID:
85 + internalID: 0
86 + vertices: []
87 + indices:
88 + edges: []
89 + weights: []
90 + secondaryTextures: []
91 + spritePackingTag:
92 + pSDRemoveMatte: 0
93 + pSDShowRemoveMatteOption: 0
94 + userData:
95 + assetBundleName:
96 + assetBundleVariant:
1 +using System.Collections;
2 +using System.Collections.Generic;
3 +using UnityEngine;
4 +using UnityEngine.SceneManagement;
5 +
6 +public class SceneMoving : MonoBehaviour
7 +{
8 + // Start is called before the first frame update
9 + void Start()
10 + {
11 +
12 + }
13 +
14 + // Update is called once per frame
15 + void Update()
16 + {
17 + if (Input.GetMouseButtonDown(0))
18 + SceneManager.LoadScene("IntervalTraining");
19 + }
20 +}
1 +fileFormatVersion: 2
2 +guid: ed89a0496db77ab4e88b677612c2dcf7
3 +MonoImporter:
4 + externalObjects: {}
5 + serializedVersion: 2
6 + defaultReferences: []
7 + executionOrder: 0
8 + icon: {instanceID: 0}
9 + userData:
10 + assetBundleName:
11 + assetBundleVariant:
1 +{"m_ScrollY":0.0,"m_ExpandedPrefabGameObjectFileIDs":[],"m_LastClickedFileID":8206358605457009709}
...\ No newline at end of file ...\ No newline at end of file
1 +[api-updater (non-obsolete-error-filter)] 2021-05-30 PM 11:28:17 : Starting C:/Program Files/Unity/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
2 +[api-updater (non-obsolete-error-filter)]
3 +----------------------------------
4 +jit/startup time : 319.3301ms
5 +moved types parse time: 77ms
6 +candidates parse time : 3ms
7 +C# parse time : 303ms
8 +candidates check time : 33ms
9 +console write time : 0ms
10 +
11 +[api-updater (non-obsolete-error-filter)] 2021-05-31 AM 12:07:49 : Starting C:/Program Files/Unity/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
12 +[api-updater (non-obsolete-error-filter)]
13 +----------------------------------
14 +jit/startup time : 108.4039ms
15 +moved types parse time: 62ms
16 +candidates parse time : 3ms
17 +C# parse time : 264ms
18 +candidates check time : 60ms
19 +console write time : 13ms
20 +
21 +[api-updater (non-obsolete-error-filter)] 2021-05-31 AM 12:07:51 : Starting C:/Program Files/Unity/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
22 +[api-updater (non-obsolete-error-filter)]
23 +----------------------------------
24 +jit/startup time : 138.6275ms
25 +moved types parse time: 63ms
26 +candidates parse time : 3ms
27 +C# parse time : 214ms
28 +candidates check time : 31ms
29 +console write time : 0ms
30 +
31 +[api-updater (non-obsolete-error-filter)] 2021-05-31 PM 12:27:59 : Starting C:/Program Files/Unity/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
32 +[api-updater (non-obsolete-error-filter)]
33 +----------------------------------
34 +jit/startup time : 259.3074ms
35 +moved types parse time: 130ms
36 +candidates parse time : 5ms
37 +C# parse time : 349ms
38 +candidates check time : 74ms
39 +console write time : 1ms
40 +
41 +[api-updater (non-obsolete-error-filter)] 2021-05-31 PM 12:38:27 : Starting C:/Program Files/Unity/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
42 +[api-updater (non-obsolete-error-filter)]
43 +----------------------------------
44 +jit/startup time : 129.3579ms
45 +moved types parse time: 61ms
46 +candidates parse time : 3ms
47 +C# parse time : 229ms
48 +candidates check time : 30ms
49 +console write time : 0ms
50 +
1 +{
2 + "templatePinStates": [],
3 + "dependencyTypeInfos": [
4 + {
5 + "userAdded": false,
6 + "type": "UnityEngine.AnimationClip",
7 + "ignore": false,
8 + "defaultInstantiationMode": 0,
9 + "supportsModification": true
10 + },
11 + {
12 + "userAdded": false,
13 + "type": "UnityEditor.Animations.AnimatorController",
14 + "ignore": false,
15 + "defaultInstantiationMode": 0,
16 + "supportsModification": true
17 + },
18 + {
19 + "userAdded": false,
20 + "type": "UnityEngine.AnimatorOverrideController",
21 + "ignore": false,
22 + "defaultInstantiationMode": 0,
23 + "supportsModification": true
24 + },
25 + {
26 + "userAdded": false,
27 + "type": "UnityEditor.Audio.AudioMixerController",
28 + "ignore": false,
29 + "defaultInstantiationMode": 0,
30 + "supportsModification": true
31 + },
32 + {
33 + "userAdded": false,
34 + "type": "UnityEngine.ComputeShader",
35 + "ignore": true,
36 + "defaultInstantiationMode": 1,
37 + "supportsModification": true
38 + },
39 + {
40 + "userAdded": false,
41 + "type": "UnityEngine.Cubemap",
42 + "ignore": false,
43 + "defaultInstantiationMode": 0,
44 + "supportsModification": true
45 + },
46 + {
47 + "userAdded": false,
48 + "type": "UnityEngine.GameObject",
49 + "ignore": false,
50 + "defaultInstantiationMode": 0,
51 + "supportsModification": true
52 + },
53 + {
54 + "userAdded": false,
55 + "type": "UnityEditor.LightingDataAsset",
56 + "ignore": false,
57 + "defaultInstantiationMode": 0,
58 + "supportsModification": false
59 + },
60 + {
61 + "userAdded": false,
62 + "type": "UnityEngine.LightingSettings",
63 + "ignore": false,
64 + "defaultInstantiationMode": 0,
65 + "supportsModification": true
66 + },
67 + {
68 + "userAdded": false,
69 + "type": "UnityEngine.Material",
70 + "ignore": false,
71 + "defaultInstantiationMode": 0,
72 + "supportsModification": true
73 + },
74 + {
75 + "userAdded": false,
76 + "type": "UnityEditor.MonoScript",
77 + "ignore": true,
78 + "defaultInstantiationMode": 1,
79 + "supportsModification": true
80 + },
81 + {
82 + "userAdded": false,
83 + "type": "UnityEngine.PhysicMaterial",
84 + "ignore": false,
85 + "defaultInstantiationMode": 0,
86 + "supportsModification": true
87 + },
88 + {
89 + "userAdded": false,
90 + "type": "UnityEngine.PhysicsMaterial2D",
91 + "ignore": false,
92 + "defaultInstantiationMode": 0,
93 + "supportsModification": true
94 + },
95 + {
96 + "userAdded": false,
97 + "type": "UnityEngine.Rendering.PostProcessing.PostProcessProfile",
98 + "ignore": false,
99 + "defaultInstantiationMode": 0,
100 + "supportsModification": true
101 + },
102 + {
103 + "userAdded": false,
104 + "type": "UnityEngine.Rendering.PostProcessing.PostProcessResources",
105 + "ignore": false,
106 + "defaultInstantiationMode": 0,
107 + "supportsModification": true
108 + },
109 + {
110 + "userAdded": false,
111 + "type": "UnityEngine.Rendering.VolumeProfile",
112 + "ignore": false,
113 + "defaultInstantiationMode": 0,
114 + "supportsModification": true
115 + },
116 + {
117 + "userAdded": false,
118 + "type": "UnityEditor.SceneAsset",
119 + "ignore": false,
120 + "defaultInstantiationMode": 0,
121 + "supportsModification": false
122 + },
123 + {
124 + "userAdded": false,
125 + "type": "UnityEngine.Shader",
126 + "ignore": true,
127 + "defaultInstantiationMode": 1,
128 + "supportsModification": true
129 + },
130 + {
131 + "userAdded": false,
132 + "type": "UnityEngine.ShaderVariantCollection",
133 + "ignore": true,
134 + "defaultInstantiationMode": 1,
135 + "supportsModification": true
136 + },
137 + {
138 + "userAdded": false,
139 + "type": "UnityEngine.Texture",
140 + "ignore": false,
141 + "defaultInstantiationMode": 0,
142 + "supportsModification": true
143 + },
144 + {
145 + "userAdded": false,
146 + "type": "UnityEngine.Texture2D",
147 + "ignore": false,
148 + "defaultInstantiationMode": 0,
149 + "supportsModification": true
150 + },
151 + {
152 + "userAdded": false,
153 + "type": "UnityEngine.Timeline.TimelineAsset",
154 + "ignore": false,
155 + "defaultInstantiationMode": 0,
156 + "supportsModification": true
157 + }
158 + ],
159 + "defaultDependencyTypeInfo": {
160 + "userAdded": false,
161 + "type": "<default_scene_template_dependencies>",
162 + "ignore": false,
163 + "defaultInstantiationMode": 1,
164 + "supportsModification": true
165 + },
166 + "newSceneOverride": 0
167 +}
...\ No newline at end of file ...\ No newline at end of file