Skip to content

Commit

Permalink
Merge pull request #132 from EshanJayasundara/main
Browse files Browse the repository at this point in the history
QR
  • Loading branch information
EshanJayasundara authored Jan 27, 2024
2 parents faed260 + dc31145 commit 3816f49
Show file tree
Hide file tree
Showing 7 changed files with 182 additions and 229 deletions.
108 changes: 33 additions & 75 deletions AR Demo/Assets/Scenes/LoadMap.unity
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.3708985, g: 0.3783704, b: 0.35722548, a: 1}
m_IndirectSpecularColor: {r: 0.37311918, g: 0.3807398, b: 0.35872716, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
Expand Down Expand Up @@ -1646,12 +1646,12 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 5b128226ef7bb4a479014d3841883e02, type: 3}
m_Name:
m_EditorClassIdentifier:
scoreText: {fileID: 88658948}
scoreText2: {fileID: 1004700075}
healthBar: {fileID: 89891845}
healthBar2: {fileID: 7343741}
shootButton: {fileID: 1911649515}
shootButton2: {fileID: 465206409}
scoreText: {fileID: 0}
scoreText2: {fileID: 0}
healthBar: {fileID: 0}
healthBar2: {fileID: 0}
shootButton: {fileID: 0}
shootButton2: {fileID: 0}
score: 0
health: 1
--- !u!4 &295199176
Expand Down Expand Up @@ -2591,14 +2591,14 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 713d5a375bdee8448a0ba0dac4c8c0ff, type: 3}
m_Name:
m_EditorClassIdentifier:
healthSlider: {fileID: 89891845}
healthSlider2: {fileID: 7343741}
redSplatter: {fileID: 817678451}
redSplatter2: {fileID: 1631777267}
whiteGradient: {fileID: 1077349442}
healthSlider: {fileID: 0}
healthSlider2: {fileID: 0}
redSplatter: {fileID: 0}
redSplatter2: {fileID: 0}
whiteGradient: {fileID: 0}
whiteGradient2: {fileID: 1320087751}
gameOverText: {fileID: 1397496993}
gameOverText2: {fileID: 716231012}
gameOverText: {fileID: 0}
gameOverText2: {fileID: 0}
maxHealth: 1
minHealth: 0
--- !u!1 &465591900
Expand Down Expand Up @@ -3590,16 +3590,17 @@ RectTransform:
- {fileID: 817678450}
- {fileID: 1631777266}
- {fileID: 1077349441}
- {fileID: 1320087750}
- {fileID: 7343740}
- {fileID: 89891844}
- {fileID: 1397496992}
- {fileID: 716231011}
- {fileID: 1911649514}
- {fileID: 465206408}


- {fileID: 898818466}
- {fileID: 88658946}
- {fileID: 1004700073}
- {fileID: 1472792109}
- {fileID: 1025985656}
m_Father: {fileID: 465413873}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
Expand Down Expand Up @@ -4350,7 +4351,7 @@ MonoBehaviour:
ResolveMenu: {fileID: 1135502107}
PrivacyPrompt: {fileID: 1592774298}
ARView: {fileID: 773448182}
GameScreen: {fileID: 557033158}
GameScreen: {fileID: 0}
Mode: 0
--- !u!4 &768157053
Transform:
Expand Down Expand Up @@ -4588,7 +4589,7 @@ MonoBehaviour:
DebugText: {fileID: 1918516692}
SaveButton: {fileID: 2100399337}
ShareButton: {fileID: 288205550}
GameScreen: {fileID: 557033158}
GameScreen: {fileID: 0}
cloudAnchor: {fileID: 0}
--- !u!224 &773448184
RectTransform:
Expand Down Expand Up @@ -4989,9 +4990,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}

m_SizeDelta: {x: 0, y: 0}

m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &857380707
MonoBehaviour:
Expand Down Expand Up @@ -7080,81 +7079,58 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1319548629}
m_CullTransparentMesh: 0


--- !u!1 &1320087749

GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:

- component: {fileID: 1320087750}
- component: {fileID: 1320087752}
- component: {fileID: 1320087751}
m_Layer: 5
m_Name: BlackBakground (1)

m_Layer: 0
m_Name:
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1

--- !u!224 &1320087750

RectTransform:
m_IsActive: 0
--- !u!4 &1320087750
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}

m_GameObject: {fileID: 1320087749}

m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
serializedVersion: 2
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: 557033159}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -6, y: 0}
m_SizeDelta: {x: 1820, y: 786.15375}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1320087751

MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}

m_GameObject: {fileID: 1320087749}
m_Enabled: 0

m_GameObject: {fileID: 0}
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: 0, b: 0, a: 0.40392157}

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: b3e3e640f57b9cf4aacc81ce2a852237, type: 3}

m_Sprite: {fileID: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
Expand All @@ -7164,18 +7140,6 @@ MonoBehaviour:
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1

--- !u!222 &1320087752

CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}

m_GameObject: {fileID: 1320087749}

m_CullTransparentMesh: 1
--- !u!1 &1372654769
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -9876,11 +9840,9 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 857380706}

- {fileID: 474897650}
- {fileID: 183914136}
- {fileID: 1012290601}

m_Father: {fileID: 465413873}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
Expand Down Expand Up @@ -10232,8 +10194,6 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2


--- !u!114 &1911649516
MonoBehaviour:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -11549,6 +11509,4 @@ SceneRoots:
- {fileID: 591552620}
- {fileID: 588276225}
- {fileID: 481558932}

- {fileID: 295199176}

136 changes: 136 additions & 0 deletions AR Demo/Assets/Scenes/MainMenu.unity
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,140 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8065406}
m_CullTransparentMesh: 1
--- !u!1 &196647827
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 196647828}
- component: {fileID: 196647830}
- component: {fileID: 196647829}
m_Layer: 5
m_Name: Notification
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &196647828
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 196647827}
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: 2030537214}
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: -158, y: 325.43}
m_SizeDelta: {x: 486.133, y: 52.488}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &196647829
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 196647827}
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: Debug Message
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4293984078
m_fontColor: {r: 0.3066038, g: 1, b: 0.9425669, 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: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!222 &196647830
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 196647827}
m_CullTransparentMesh: 1
--- !u!1 &224186064
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -1561,6 +1695,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
Email: {fileID: 1555920566}
Notification: {fileID: 196647829}
--- !u!1 &1277155419
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -2391,6 +2526,7 @@ RectTransform:
- {fileID: 811299836}
- {fileID: 618468046}
- {fileID: 1227985010}
- {fileID: 196647828}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
Expand Down
Loading

0 comments on commit 3816f49

Please sign in to comment.