Showing
287 changed files
with
341 additions
and
0 deletions
src/unity/creating-map/Assets/BackToMain.cs
0 → 100644
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 | +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 | +} |
This diff could not be displayed because it is too large.
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 |
No preview for this file type
No preview for this file type
src/unity/creating-map/Assets/RPGPP_LT/Scene/rpgpp_lt_scene_1.0/ReflectionProbe-0.exr.meta
0 → 100644
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: |
src/unity/creating-map/Assets/SceneMoving.cs
0 → 100644
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 | +} |
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
This file is too large to display.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment