Synchronize health and dental disease statistics , Setup and configure credit scene, Prevent level replay from increasing unlock level,. Prevent duplicate quiz attempts from increasing stats

This commit is contained in:
Shavira 2025-05-23 22:47:14 +07:00
parent 26e380cd01
commit 9d6d66caf8
52 changed files with 820 additions and 220 deletions

13
.idea/.idea.ToothyV/.idea/.gitignore vendored Normal file
View File

@ -0,0 +1,13 @@
# Default ignored files
/shelf/
/workspace.xml
# Rider ignored files
/contentModel.xml
/projectSettingsUpdater.xml
/.idea.ToothyV.iml
/modules.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="UserContentModel">
<attachedFolders />
<explicitIncludes />
<explicitExcludes />
</component>
</project>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

View File

@ -10,7 +10,7 @@ MonoBehaviour:
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 31b9fba0680987640ade1fdf5d7d7a95, type: 3} m_Script: {fileID: 11500000, guid: 31b9fba0680987640ade1fdf5d7d7a95, type: 3}
m_Name: Easy kesehatan 1 m_Name: Quis Kesehatan Gigi 1
m_EditorClassIdentifier: m_EditorClassIdentifier:
question: Berapa jumlah gigi susu yang dimiliki anak-anak? question: Berapa jumlah gigi susu yang dimiliki anak-anak?
imageQuestion: {fileID: 0} imageQuestion: {fileID: 0}

View File

@ -10,7 +10,7 @@ MonoBehaviour:
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 31b9fba0680987640ade1fdf5d7d7a95, type: 3} m_Script: {fileID: 11500000, guid: 31b9fba0680987640ade1fdf5d7d7a95, type: 3}
m_Name: kesehatan Easy 3 m_Name: Quis Kesehatan Gigi 2
m_EditorClassIdentifier: m_EditorClassIdentifier:
question: Kapan waktu yang tepat untuk menggosok gigi? question: Kapan waktu yang tepat untuk menggosok gigi?
imageQuestion: {fileID: 0} imageQuestion: {fileID: 0}

View File

@ -10,7 +10,7 @@ MonoBehaviour:
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 31b9fba0680987640ade1fdf5d7d7a95, type: 3} m_Script: {fileID: 11500000, guid: 31b9fba0680987640ade1fdf5d7d7a95, type: 3}
m_Name: kesehatan Medium 2 m_Name: Quis Kesehatan Gigi 3
m_EditorClassIdentifier: m_EditorClassIdentifier:
question: 'Apa nama gigi yang tumbuh setelah gigi susu copot? ' question: 'Apa nama gigi yang tumbuh setelah gigi susu copot? '
imageQuestion: {fileID: 0} imageQuestion: {fileID: 0}

View File

@ -10,7 +10,7 @@ MonoBehaviour:
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 31b9fba0680987640ade1fdf5d7d7a95, type: 3} m_Script: {fileID: 11500000, guid: 31b9fba0680987640ade1fdf5d7d7a95, type: 3}
m_Name: kesehatan Hard 1 m_Name: Quis Kesehatan Gigi 4
m_EditorClassIdentifier: m_EditorClassIdentifier:
question: Apa fungsi fluoride dalam pasta gigi? question: Apa fungsi fluoride dalam pasta gigi?
imageQuestion: {fileID: 0} imageQuestion: {fileID: 0}

View File

@ -10,7 +10,7 @@ MonoBehaviour:
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 31b9fba0680987640ade1fdf5d7d7a95, type: 3} m_Script: {fileID: 11500000, guid: 31b9fba0680987640ade1fdf5d7d7a95, type: 3}
m_Name: kesehatan Hard 3 m_Name: Quis Kesehatan Gigi 5
m_EditorClassIdentifier: m_EditorClassIdentifier:
question: 'Apa fungsi fluoride dalam pasta gigi? question: 'Apa fungsi fluoride dalam pasta gigi?

View File

@ -10,7 +10,7 @@ MonoBehaviour:
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 31b9fba0680987640ade1fdf5d7d7a95, type: 3} m_Script: {fileID: 11500000, guid: 31b9fba0680987640ade1fdf5d7d7a95, type: 3}
m_Name: Easy kesehatan 2 m_Name: Quis Penyakit Gigi 1
m_EditorClassIdentifier: m_EditorClassIdentifier:
question: Apa penyebab utama gigi berlubang? question: Apa penyebab utama gigi berlubang?
imageQuestion: {fileID: 0} imageQuestion: {fileID: 0}

View File

@ -10,7 +10,7 @@ MonoBehaviour:
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 31b9fba0680987640ade1fdf5d7d7a95, type: 3} m_Script: {fileID: 11500000, guid: 31b9fba0680987640ade1fdf5d7d7a95, type: 3}
m_Name: kesehatan Medium 1 m_Name: Quis Penyakit Gigi 2
m_EditorClassIdentifier: m_EditorClassIdentifier:
question: Berapa kali sebaiknya kita sikat gigi dalam sehari? question: Berapa kali sebaiknya kita sikat gigi dalam sehari?
imageQuestion: {fileID: 0} imageQuestion: {fileID: 0}

View File

@ -10,7 +10,7 @@ MonoBehaviour:
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 31b9fba0680987640ade1fdf5d7d7a95, type: 3} m_Script: {fileID: 11500000, guid: 31b9fba0680987640ade1fdf5d7d7a95, type: 3}
m_Name: kesehatan Medium 3 m_Name: Quis Penyakit Gigi 3
m_EditorClassIdentifier: m_EditorClassIdentifier:
question: 'Mengapa gigi bisa jadi sensitif? ' question: 'Mengapa gigi bisa jadi sensitif? '
imageQuestion: {fileID: 0} imageQuestion: {fileID: 0}

View File

@ -10,7 +10,7 @@ MonoBehaviour:
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 31b9fba0680987640ade1fdf5d7d7a95, type: 3} m_Script: {fileID: 11500000, guid: 31b9fba0680987640ade1fdf5d7d7a95, type: 3}
m_Name: kesehatan Hard 2 m_Name: Quis Penyakit Gigi 4
m_EditorClassIdentifier: m_EditorClassIdentifier:
question: Mengapa plak gigi berbahaya jika tidak dibersihkan? question: Mengapa plak gigi berbahaya jika tidak dibersihkan?
imageQuestion: {fileID: 0} imageQuestion: {fileID: 0}

View File

@ -1,5 +1,81 @@
%YAML 1.1 %YAML 1.1
%TAG !u! tag:unity3d.com,2011: %TAG !u! tag:unity3d.com,2011:
--- !u!1 &577210236845978628
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4215614930882340153}
- component: {fileID: 6683881865203022060}
- component: {fileID: 8385365822272177302}
m_Layer: 5
m_Name: Univ Logo
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &4215614930882340153
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 577210236845978628}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 714601868426140508}
m_RootOrder: 5
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: 74}
m_SizeDelta: {x: 159.1274, y: 159.1274}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6683881865203022060
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 577210236845978628}
m_CullTransparentMesh: 1
--- !u!114 &8385365822272177302
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 577210236845978628}
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_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 2da4efd3e8e447e43bc5237d71dfa08d, 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!1 &601195499086947723 --- !u!1 &601195499086947723
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -470,7 +546,6 @@ RectTransform:
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children:
- {fileID: 7002675312940671328} - {fileID: 7002675312940671328}
- {fileID: 1312559287766728332}
m_Father: {fileID: 601195499086947727} m_Father: {fileID: 601195499086947727}
m_RootOrder: 2 m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -566,7 +641,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1} m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -83, y: -58} m_AnchoredPosition: {x: -100, y: -100}
m_SizeDelta: {x: 111.95117, y: 111.9512} m_SizeDelta: {x: 111.95117, y: 111.9512}
m_Pivot: {x: 1, y: 1} m_Pivot: {x: 1, y: 1}
--- !u!222 &601195500429098282 --- !u!222 &601195500429098282
@ -597,7 +672,7 @@ MonoBehaviour:
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_Sprite: {fileID: 21300000, guid: 3fd4344b3afa147ee88da3654da8be4b, type: 3} m_Sprite: {fileID: 21300000, guid: b9c3df709cdaf4e1f93e80ea5201d9c7, type: 3}
m_Type: 0 m_Type: 0
m_PreserveAspect: 0 m_PreserveAspect: 0
m_FillCenter: 1 m_FillCenter: 1
@ -729,7 +804,7 @@ MonoBehaviour:
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_Sprite: {fileID: 21300000, guid: 3b23831cdf0cb42d9aa18caa4f364eac, type: 3} m_Sprite: {fileID: 21300000, guid: b64abc7b83e604531bf8003323da13e0, type: 3}
m_Type: 0 m_Type: 0
m_PreserveAspect: 0 m_PreserveAspect: 0
m_FillCenter: 1 m_FillCenter: 1
@ -904,7 +979,11 @@ RectTransform:
m_Children: m_Children:
- {fileID: 1748136070875988625} - {fileID: 1748136070875988625}
- {fileID: 4881455455814212178} - {fileID: 4881455455814212178}
- {fileID: 1971579888306443949} - {fileID: 7516053736601891809}
- {fileID: 2667897382560273832}
- {fileID: 8022684936033131180}
- {fileID: 4215614930882340153}
- {fileID: 8393910637402775680}
m_Father: {fileID: 7002675312940671328} m_Father: {fileID: 7002675312940671328}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -1066,143 +1145,6 @@ MonoBehaviour:
m_FillOrigin: 0 m_FillOrigin: 0
m_UseSpriteMesh: 0 m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 2 m_PixelsPerUnitMultiplier: 2
--- !u!1 &1480186045822851115
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1971579888306443949}
- component: {fileID: 2985603621870991402}
- component: {fileID: 86225551158280475}
m_Layer: 5
m_Name: Text (TMP)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1971579888306443949
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1480186045822851115}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 714601868426140508}
m_RootOrder: 2
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.000030517578, y: -18}
m_SizeDelta: {x: 556, y: 474}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2985603621870991402
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1480186045822851115}
m_CullTransparentMesh: 1
--- !u!114 &86225551158280475
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1480186045822851115}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 'Hai, Thyv !
Saya adalah pengembang Game ini, Namaku Vira !'
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 9fa5016cb7e534c0aa0c0adb2ecf9124, type: 2}
m_sharedMaterial: {fileID: 6098576539282327867, guid: 9fa5016cb7e534c0aa0c0adb2ecf9124, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4278190080
m_fontColor: {r: 0, g: 0, b: 0, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 40
m_fontSizeBase: 40
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 1
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 67.17082, y: 65.81535, z: 61.797012, w: 135.28716}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!1 &2138174005730470144 --- !u!1 &2138174005730470144
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1315,7 +1257,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1} m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1} m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: -81} m_AnchoredPosition: {x: 0, y: -67}
m_SizeDelta: {x: 460, y: 162} m_SizeDelta: {x: 460, y: 162}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &69853172256636101 --- !u!222 &69853172256636101
@ -1435,7 +1377,7 @@ MonoBehaviour:
m_FillOrigin: 0 m_FillOrigin: 0
m_UseSpriteMesh: 0 m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1.7 m_PixelsPerUnitMultiplier: 1.7
--- !u!1 &5815885198074845615 --- !u!1 &5926698864619895589
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
@ -1443,54 +1385,54 @@ GameObject:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
serializedVersion: 6 serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 1312559287766728332} - component: {fileID: 2667897382560273832}
- component: {fileID: 3190918984891655854} - component: {fileID: 7262546894597658691}
- component: {fileID: 3654075936253949872} - component: {fileID: 2177822396352259540}
m_Layer: 5 m_Layer: 5
m_Name: Sayori Image m_Name: Name
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!224 &1312559287766728332 --- !u!224 &2667897382560273832
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5815885198074845615} m_GameObject: {fileID: 5926698864619895589}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 601195499535786068} m_Father: {fileID: 714601868426140508}
m_RootOrder: 1 m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 0.5} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -203, y: 143} m_AnchoredPosition: {x: 0, y: -311}
m_SizeDelta: {x: 526.5428, y: 526.5428} m_SizeDelta: {x: 0, y: 175.5405}
m_Pivot: {x: 1, y: 0.5} m_Pivot: {x: 0.5, y: 1}
--- !u!222 &3190918984891655854 --- !u!222 &7262546894597658691
CanvasRenderer: CanvasRenderer:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5815885198074845615} m_GameObject: {fileID: 5926698864619895589}
m_CullTransparentMesh: 1 m_CullTransparentMesh: 1
--- !u!114 &3654075936253949872 --- !u!114 &2177822396352259540
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5815885198074845615} m_GameObject: {fileID: 5926698864619895589}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
@ -1501,16 +1443,77 @@ MonoBehaviour:
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_Sprite: {fileID: 21300000, guid: 14f19c212af9b334891d9cbe3494aed9, type: 3} m_text: 'Shavira Azzaria Azzarin
m_Type: 0
m_PreserveAspect: 0 E31222569'
m_FillCenter: 1 m_isRightToLeft: 0
m_FillMethod: 4 m_fontAsset: {fileID: 11400000, guid: 9fa5016cb7e534c0aa0c0adb2ecf9124, type: 2}
m_FillAmount: 1 m_sharedMaterial: {fileID: 6098576539282327867, guid: 9fa5016cb7e534c0aa0c0adb2ecf9124, type: 2}
m_FillClockwise: 1 m_fontSharedMaterials: []
m_FillOrigin: 0 m_fontMaterial: {fileID: 0}
m_UseSpriteMesh: 0 m_fontMaterials: []
m_PixelsPerUnitMultiplier: 1 m_fontColor32:
serializedVersion: 2
rgba: 4278190080
m_fontColor: {r: 0, g: 0, b: 0, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 20
m_fontSizeBase: 20
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 67.17082, y: 65.81535, z: 61.797012, w: 29.274513}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!1 &7002675312927347810 --- !u!1 &7002675312927347810
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1548,8 +1551,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1} m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1} m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: -97, y: 166} m_AnchoredPosition: {x: 138.66365, y: 166}
m_SizeDelta: {x: 555.5613, y: 534.7278} m_SizeDelta: {x: 1026.8885, y: 628.9932}
m_Pivot: {x: 0.5, y: 1} m_Pivot: {x: 0.5, y: 1}
--- !u!114 &7002675312932786570 --- !u!114 &7002675312932786570
MonoBehaviour: MonoBehaviour:
@ -1623,3 +1626,351 @@ RectTransform:
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &8731641916991537347
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7516053736601891809}
- component: {fileID: 3128690902296718714}
- component: {fileID: 588038680800817359}
m_Layer: 5
m_Name: Created By
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &7516053736601891809
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8731641916991537347}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 714601868426140508}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -258}
m_SizeDelta: {x: 0, y: 175.5405}
m_Pivot: {x: 0.5, y: 1}
--- !u!222 &3128690902296718714
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8731641916991537347}
m_CullTransparentMesh: 1
--- !u!114 &588038680800817359
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8731641916991537347}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: Created By
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 9fa5016cb7e534c0aa0c0adb2ecf9124, type: 2}
m_sharedMaterial: {fileID: 6098576539282327867, guid: 9fa5016cb7e534c0aa0c0adb2ecf9124, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4278190080
m_fontColor: {r: 0, g: 0, b: 0, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 30
m_fontSizeBase: 30
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 67.17082, y: 65.81535, z: 61.797012, w: 55.364548}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!1 &8786528206638143161
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8022684936033131180}
- component: {fileID: 292398752493070651}
- component: {fileID: 7096835651181106229}
m_Layer: 5
m_Name: Univ
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &8022684936033131180
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8786528206638143161}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 714601868426140508}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -375}
m_SizeDelta: {x: 0, y: 175.5405}
m_Pivot: {x: 0.5, y: 1}
--- !u!222 &292398752493070651
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8786528206638143161}
m_CullTransparentMesh: 1
--- !u!114 &7096835651181106229
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8786528206638143161}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 'Politeknik Negeri Jember
Program Studi Manajemen Informatik'
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 9fa5016cb7e534c0aa0c0adb2ecf9124, type: 2}
m_sharedMaterial: {fileID: 6098576539282327867, guid: 9fa5016cb7e534c0aa0c0adb2ecf9124, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4278190080
m_fontColor: {r: 0, g: 0, b: 0, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 20
m_fontSizeBase: 20
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 67.17082, y: 65.81535, z: 61.797012, w: 29.274513}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!1 &9117717716866579938
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8393910637402775680}
- component: {fileID: 4715122777156464589}
- component: {fileID: 137837236061967713}
m_Layer: 5
m_Name: Image (1)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &8393910637402775680
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9117717716866579938}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 714601868426140508}
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: 88}
m_SizeDelta: {x: 526.3811, y: 207.54}
m_Pivot: {x: 0.5, y: 1}
--- !u!222 &4715122777156464589
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9117717716866579938}
m_CullTransparentMesh: 1
--- !u!114 &137837236061967713
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9117717716866579938}
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_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 6438603e40f8d714e85ed3cccbdd7df0, 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

View File

@ -1369,6 +1369,8 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
isEnemyDeath: 0 isEnemyDeath: 0
currentQuestion: {fileID: 11400000, guid: 8fb143c91548cb04da122f9042763287, type: 2} currentQuestion: {fileID: 11400000, guid: 8fb143c91548cb04da122f9042763287, type: 2}
indexQuestion: 0
levelCurrentIndex: 1
--- !u!4 &1430463874 --- !u!4 &1430463874
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1962,6 +1964,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3} m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
gameManager: {fileID: 0}
moveSpeed: 0.5 moveSpeed: 0.5
target: {fileID: 717926935} target: {fileID: 717926935}
health: 0 health: 0

View File

@ -1414,6 +1414,8 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
isEnemyDeath: 0 isEnemyDeath: 0
currentQuestion: {fileID: 0} currentQuestion: {fileID: 0}
indexQuestion: 0
levelCurrentIndex: 1
--- !u!4 &1430463874 --- !u!4 &1430463874
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -2007,6 +2009,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3} m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
gameManager: {fileID: 0}
moveSpeed: 0.5 moveSpeed: 0.5
target: {fileID: 717926935} target: {fileID: 717926935}
health: 0 health: 0

View File

@ -1352,6 +1352,8 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
isEnemyDeath: 0 isEnemyDeath: 0
currentQuestion: {fileID: 11400000, guid: e520fa35c2c132b4498702deccc127ce, type: 2} currentQuestion: {fileID: 11400000, guid: e520fa35c2c132b4498702deccc127ce, type: 2}
indexQuestion: 0
levelCurrentIndex: 2
--- !u!4 &1430463874 --- !u!4 &1430463874
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1945,6 +1947,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3} m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
gameManager: {fileID: 0}
moveSpeed: 0.5 moveSpeed: 0.5
target: {fileID: 717926935} target: {fileID: 717926935}
health: 0 health: 0

View File

@ -1352,6 +1352,8 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
isEnemyDeath: 0 isEnemyDeath: 0
currentQuestion: {fileID: 0} currentQuestion: {fileID: 0}
indexQuestion: 0
levelCurrentIndex: 2
--- !u!4 &1430463874 --- !u!4 &1430463874
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1945,6 +1947,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3} m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
gameManager: {fileID: 0}
moveSpeed: 0.5 moveSpeed: 0.5
target: {fileID: 717926935} target: {fileID: 717926935}
health: 0 health: 0

View File

@ -1352,6 +1352,8 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
isEnemyDeath: 0 isEnemyDeath: 0
currentQuestion: {fileID: 11400000, guid: 74e1dca9ead11a7489182d943d54cc3b, type: 2} currentQuestion: {fileID: 11400000, guid: 74e1dca9ead11a7489182d943d54cc3b, type: 2}
indexQuestion: 1
levelCurrentIndex: 3
--- !u!4 &1430463874 --- !u!4 &1430463874
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1945,6 +1947,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3} m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
gameManager: {fileID: 0}
moveSpeed: 0.5 moveSpeed: 0.5
target: {fileID: 717926935} target: {fileID: 717926935}
health: 0 health: 0

View File

@ -1414,6 +1414,8 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
isEnemyDeath: 0 isEnemyDeath: 0
currentQuestion: {fileID: 0} currentQuestion: {fileID: 0}
indexQuestion: 0
levelCurrentIndex: 3
--- !u!4 &1430463874 --- !u!4 &1430463874
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -2007,6 +2009,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3} m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
gameManager: {fileID: 0}
moveSpeed: 0.5 moveSpeed: 0.5
target: {fileID: 717926935} target: {fileID: 717926935}
health: 0 health: 0

View File

@ -1351,7 +1351,9 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
isEnemyDeath: 0 isEnemyDeath: 0
currentQuestion: {fileID: 11400000, guid: 8fb143c91548cb04da122f9042763287, type: 2} currentQuestion: {fileID: 11400000, guid: 32561643d7a150c4aa8dfa667df708ec, type: 2}
indexQuestion: 3
levelCurrentIndex: 7
--- !u!4 &1430463874 --- !u!4 &1430463874
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1945,6 +1947,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3} m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
gameManager: {fileID: 0}
moveSpeed: 0.5 moveSpeed: 0.5
target: {fileID: 717926935} target: {fileID: 717926935}
health: 0 health: 0

View File

@ -1414,6 +1414,8 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
isEnemyDeath: 0 isEnemyDeath: 0
currentQuestion: {fileID: 0} currentQuestion: {fileID: 0}
indexQuestion: 0
levelCurrentIndex: 7
--- !u!4 &1430463874 --- !u!4 &1430463874
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -2007,6 +2009,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3} m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
gameManager: {fileID: 0}
moveSpeed: 0.5 moveSpeed: 0.5
target: {fileID: 717926935} target: {fileID: 717926935}
health: 0 health: 0

View File

@ -1351,7 +1351,9 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
isEnemyDeath: 0 isEnemyDeath: 0
currentQuestion: {fileID: 11400000, guid: 8fb143c91548cb04da122f9042763287, type: 2} currentQuestion: {fileID: 11400000, guid: 1d7b69d707647864ab532e1b83e7b05d, type: 2}
indexQuestion: 3
levelCurrentIndex: 8
--- !u!4 &1430463874 --- !u!4 &1430463874
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1945,6 +1947,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3} m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
gameManager: {fileID: 0}
moveSpeed: 0.5 moveSpeed: 0.5
target: {fileID: 717926935} target: {fileID: 717926935}
health: 0 health: 0

View File

@ -1414,6 +1414,8 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
isEnemyDeath: 0 isEnemyDeath: 0
currentQuestion: {fileID: 0} currentQuestion: {fileID: 0}
indexQuestion: 0
levelCurrentIndex: 8
--- !u!4 &1430463874 --- !u!4 &1430463874
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -2007,6 +2009,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3} m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
gameManager: {fileID: 0}
moveSpeed: 0.5 moveSpeed: 0.5
target: {fileID: 717926935} target: {fileID: 717926935}
health: 0 health: 0

View File

@ -1351,7 +1351,9 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
isEnemyDeath: 0 isEnemyDeath: 0
currentQuestion: {fileID: 11400000, guid: 8fb143c91548cb04da122f9042763287, type: 2} currentQuestion: {fileID: 11400000, guid: d81cf39a05507de42bc8426891ec9ac8, type: 2}
indexQuestion: 4
levelCurrentIndex: 9
--- !u!4 &1430463874 --- !u!4 &1430463874
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1945,6 +1947,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3} m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
gameManager: {fileID: 0}
moveSpeed: 0.5 moveSpeed: 0.5
target: {fileID: 717926935} target: {fileID: 717926935}
health: 0 health: 0

View File

@ -1414,6 +1414,8 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
isEnemyDeath: 0 isEnemyDeath: 0
currentQuestion: {fileID: 0} currentQuestion: {fileID: 0}
indexQuestion: 0
levelCurrentIndex: 9
--- !u!4 &1430463874 --- !u!4 &1430463874
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -2007,6 +2009,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3} m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
gameManager: {fileID: 0}
moveSpeed: 0.5 moveSpeed: 0.5
target: {fileID: 717926935} target: {fileID: 717926935}
health: 0 health: 0

View File

@ -1352,6 +1352,8 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
isEnemyDeath: 0 isEnemyDeath: 0
currentQuestion: {fileID: 11400000, guid: 17cabfbf2c2644740b075a38cfd3af3a, type: 2} currentQuestion: {fileID: 11400000, guid: 17cabfbf2c2644740b075a38cfd3af3a, type: 2}
indexQuestion: 1
levelCurrentIndex: 4
--- !u!4 &1430463874 --- !u!4 &1430463874
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1945,6 +1947,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3} m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
gameManager: {fileID: 0}
moveSpeed: 0.5 moveSpeed: 0.5
target: {fileID: 717926935} target: {fileID: 717926935}
health: 0 health: 0

View File

@ -1414,6 +1414,8 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
isEnemyDeath: 0 isEnemyDeath: 0
currentQuestion: {fileID: 0} currentQuestion: {fileID: 0}
indexQuestion: 0
levelCurrentIndex: 4
--- !u!4 &1430463874 --- !u!4 &1430463874
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -2007,6 +2009,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3} m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
gameManager: {fileID: 0}
moveSpeed: 0.5 moveSpeed: 0.5
target: {fileID: 717926935} target: {fileID: 717926935}
health: 0 health: 0

View File

@ -1352,6 +1352,8 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
isEnemyDeath: 0 isEnemyDeath: 0
currentQuestion: {fileID: 11400000, guid: cd3b2c8ba810f104e892ceb714dd0bfd, type: 2} currentQuestion: {fileID: 11400000, guid: cd3b2c8ba810f104e892ceb714dd0bfd, type: 2}
indexQuestion: 2
levelCurrentIndex: 5
--- !u!4 &1430463874 --- !u!4 &1430463874
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1945,6 +1947,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3} m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
gameManager: {fileID: 0}
moveSpeed: 0.5 moveSpeed: 0.5
target: {fileID: 717926935} target: {fileID: 717926935}
health: 0 health: 0

View File

@ -1413,7 +1413,9 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
isEnemyDeath: 0 isEnemyDeath: 0
currentQuestion: {fileID: 0} currentQuestion: {fileID: 11400000, guid: cd3b2c8ba810f104e892ceb714dd0bfd, type: 2}
indexQuestion: 2
levelCurrentIndex: 5
--- !u!4 &1430463874 --- !u!4 &1430463874
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -2007,6 +2009,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3} m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
gameManager: {fileID: 0}
moveSpeed: 0.5 moveSpeed: 0.5
target: {fileID: 717926935} target: {fileID: 717926935}
health: 0 health: 0

View File

@ -1352,6 +1352,8 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
isEnemyDeath: 0 isEnemyDeath: 0
currentQuestion: {fileID: 11400000, guid: cf180945f3f07674db927d80d5cf753b, type: 2} currentQuestion: {fileID: 11400000, guid: cf180945f3f07674db927d80d5cf753b, type: 2}
indexQuestion: 2
levelCurrentIndex: 6
--- !u!4 &1430463874 --- !u!4 &1430463874
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1945,6 +1947,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3} m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
gameManager: {fileID: 0}
moveSpeed: 0.5 moveSpeed: 0.5
target: {fileID: 717926935} target: {fileID: 717926935}
health: 0 health: 0

View File

@ -1414,6 +1414,8 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
isEnemyDeath: 0 isEnemyDeath: 0
currentQuestion: {fileID: 0} currentQuestion: {fileID: 0}
indexQuestion: 0
levelCurrentIndex: 6
--- !u!4 &1430463874 --- !u!4 &1430463874
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -2007,6 +2009,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3} m_Script: {fileID: 11500000, guid: 055fc9c8aafcdde4da2c3cf2e4c07048, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
gameManager: {fileID: 0}
moveSpeed: 0.5 moveSpeed: 0.5
target: {fileID: 717926935} target: {fileID: 717926935}
health: 0 health: 0

View File

@ -9,12 +9,6 @@ public class DataManager : MonoBehaviour
public SaveData saveData; public SaveData saveData;
private JsonSaver jsonSaver; private JsonSaver jsonSaver;
public bool isFirstDataCompleteMethod
{
get { return saveData.isFirstDataComplete; }
set { saveData.isFirstDataComplete = value; }
}
private void OnEnable() private void OnEnable()
{ {
if (instance == null) if (instance == null)
@ -40,6 +34,20 @@ public class DataManager : MonoBehaviour
DontDestroyOnLoad(gameObject); DontDestroyOnLoad(gameObject);
} }
public bool[] isMateriKesehatanGigiComplete
{
get { return saveData.isMateriKesehatanGigiComplete; }
set { saveData.isMateriKesehatanGigiComplete = value; }
}
public bool[] isMateriPenyakitGigi1Complete
{
get { return saveData.isMateriPenyakitGigi1Complete; }
set { saveData.isMateriPenyakitGigi1Complete = value; }
}
public float MateriKesehatanGigi public float MateriKesehatanGigi
{ {
get { return saveData.kesehatanGigiStatistik; } get { return saveData.kesehatanGigiStatistik; }
@ -58,17 +66,6 @@ public class DataManager : MonoBehaviour
set { saveData.unlockLevel = value; } set { saveData.unlockLevel = value; }
} }
public bool sfxVolume
{
get { return saveData.sfxVolume; }
set { saveData.sfxVolume = value; }
}
public bool musicVolume
{
get { return saveData.musicVolume; }
set { saveData.musicVolume = value; }
}
public string playerName public string playerName
{ {
@ -82,8 +79,6 @@ public class DataManager : MonoBehaviour
set { saveData.agePlayer = value; } set { saveData.agePlayer = value; }
} }
public void Save() public void Save()
{ {
jsonSaver.Save(saveData); jsonSaver.Save(saveData);

View File

@ -1,29 +1,41 @@
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System; using System;
using UnityEngine.Serialization;
[Serializable] [Serializable]
public class SaveData public class SaveData
{ {
public bool isFirstDataComplete;
public string playerName; public string playerName;
private readonly string defaultPlayerName = "Player"; private readonly string defaultPlayerName = "Player";
public string agePlayer; public string agePlayer;
public bool sfxVolume;
public bool musicVolume;
public int unlockLevel; public int unlockLevel;
public float kesehatanGigiStatistik; public float kesehatanGigiStatistik;
public float PenyakitGigiStatistik; public float PenyakitGigiStatistik;
public bool[] isMateriKesehatanGigiComplete = new bool[4];
public bool[] isMateriPenyakitGigi1Complete= new bool[3];
public SaveData() public SaveData()
{ {
playerName = defaultPlayerName; playerName = defaultPlayerName;
sfxVolume = true;
musicVolume = true;
agePlayer = "0"; agePlayer = "0";
isFirstDataComplete = false;
unlockLevel = 1; unlockLevel = 1;
kesehatanGigiStatistik = 0; kesehatanGigiStatistik = 0;
PenyakitGigiStatistik = 0; PenyakitGigiStatistik = 0;
for (int i = 0; i < isMateriKesehatanGigiComplete.Length; i++)
{
isMateriKesehatanGigiComplete[i] = false;
}
for (int i = 0; i < isMateriPenyakitGigi1Complete.Length; i++)
{
isMateriPenyakitGigi1Complete[i] = false;
}
} }
} }

View File

@ -5,6 +5,8 @@ using UnityEngine;
public class Enemy : MonoBehaviour public class Enemy : MonoBehaviour
{ {
public GameManager gameManager;
[SerializeField] private float moveSpeed; [SerializeField] private float moveSpeed;
[SerializeField] private Transform target; [SerializeField] private Transform target;
public float health; public float health;
@ -19,6 +21,9 @@ public class Enemy : MonoBehaviour
{ {
pastaGigi.SetActive(false); pastaGigi.SetActive(false);
} }
gameManager = FindObjectOfType<GameManager>();
health = maxHealth; health = maxHealth;
} }
@ -58,7 +63,11 @@ public class Enemy : MonoBehaviour
{ {
if (isBosStage2) if (isBosStage2)
{ {
DataManager.instance.UnlockLevel += 1; int currentLevel = gameManager.levelCurrentIndex;
if (currentLevel == DataManager.instance.UnlockLevel)
{
DataManager.instance.UnlockLevel = currentLevel + 1;
}
gameObject.SetActive(false); gameObject.SetActive(false);
WinScreen.Open(); WinScreen.Open();
DataManager.instance.Save(); DataManager.instance.Save();

View File

@ -8,5 +8,8 @@ public class GameManager : MonoBehaviour
public bool isEnemyDeath; public bool isEnemyDeath;
public QuestionSO currentQuestion; public QuestionSO currentQuestion;
public int indexQuestion;
public int levelCurrentIndex;
} }

View File

@ -1,3 +1,4 @@
using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
@ -14,4 +15,5 @@ public class QuestionSO : ScriptableObject
public string nextSceneName; public string nextSceneName;
public bool isMateriKesehatanGigi; public bool isMateriKesehatanGigi;
} }

View File

@ -13,7 +13,6 @@ public class MenuManager : MonoBehaviour
[SerializeField] private PauseMenu pauseMenuPrefabs; [SerializeField] private PauseMenu pauseMenuPrefabs;
[SerializeField] private WinScreen winMenuPrefabs; [SerializeField] private WinScreen winMenuPrefabs;
[SerializeField] private ProfileMenu profileMenuPrefabs; [SerializeField] private ProfileMenu profileMenuPrefabs;
[SerializeField] private FirstData FirstDataMenuPrefabs;
[SerializeField] private SelectPlayOrLearnMenu selectPlayOrLearnMenuPrefabs; [SerializeField] private SelectPlayOrLearnMenu selectPlayOrLearnMenuPrefabs;
[SerializeField] private MateriPenyakitGigi materiPenyakitGigiPrefab; [SerializeField] private MateriPenyakitGigi materiPenyakitGigiPrefab;
[SerializeField] private MateriKesehatanGigi materiKesehatanGigiPrefab; [SerializeField] private MateriKesehatanGigi materiKesehatanGigiPrefab;
@ -77,7 +76,7 @@ public class MenuManager : MonoBehaviour
Menu menuInstance = Instantiate(prefab, menuParent); Menu menuInstance = Instantiate(prefab, menuParent);
menuInstance.gameObject.SetActive(true); // Refresh the instance to prevent a null reference. menuInstance.gameObject.SetActive(true); // Refresh the instance to prevent a null reference.
menuInstance.gameObject.SetActive(false); menuInstance.gameObject.SetActive(false);
if (prefab == auntMenuPrefabs) if (prefab == mainMenuPrefabs)
{ {
OpenMenu(menuInstance); OpenMenu(menuInstance);
} }

View File

@ -8,14 +8,14 @@ public class PauseMenu : Menu<PauseMenu>
public void OnResumePressed() public void OnResumePressed()
{ {
Time.timeScale = 1; Time.timeScale = 1;
base.OnBackPressed(); GameMenu.Open();
} }
public void OnRestartPressed() public void OnRestartPressed()
{ {
Time.timeScale = 1; Time.timeScale = 1;
SceneController.Instance.RestartScene(); SceneController.Instance.RestartScene();
base.OnBackPressed(); GameMenu.Open();
} }
public void OnMainMenuPressed() public void OnMainMenuPressed()

View File

@ -215,13 +215,26 @@ public class QuizPopUp : Menu<QuizPopUp>
IEnumerator DelayAfterAnswerTrue() IEnumerator DelayAfterAnswerTrue()
{ {
dataManager.Load();
if (currentQuestion.isMateriKesehatanGigi) if (currentQuestion.isMateriKesehatanGigi)
{ {
dataManager.MateriKesehatanGigi += 11; int checkData = gameManager.indexQuestion;
if (dataManager.isMateriKesehatanGigiComplete[checkData] == false)
{
dataManager.isMateriKesehatanGigiComplete[checkData] = true;
dataManager.MateriKesehatanGigi += 20;
dataManager.Save();
}
} }
else else
{ {
dataManager.MateriPenyakitGigi += 11; int checkData = gameManager.indexQuestion;
if (dataManager.isMateriPenyakitGigi1Complete[checkData] == false)
{
dataManager.isMateriPenyakitGigi1Complete[checkData] = true;
dataManager.MateriPenyakitGigi += 25;
dataManager.Save();
}
} }
yield return new WaitForSeconds(1); yield return new WaitForSeconds(1);
SceneController.Instance.LoadScene(currentQuestion.nextSceneName); SceneController.Instance.LoadScene(currentQuestion.nextSceneName);

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

View File

@ -0,0 +1,135 @@
fileFormatVersion: 2
guid: 2da4efd3e8e447e43bc5237d71dfa08d
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
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
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 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
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
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: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant: