Skip to content

Commit

Permalink
Final Implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
AkankshaAttavar committed Jun 23, 2024
1 parent 5c27311 commit 5d9db0a
Show file tree
Hide file tree
Showing 23 changed files with 6,241 additions and 1,506 deletions.
5,816 changes: 5,816 additions & 0 deletions Assets/Scenes/Endless.unity

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions Assets/Scenes/Endless.unity.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Assets/Scenes/Game.unity
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 0.8, b: 0, a: 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
Expand Down
26 changes: 19 additions & 7 deletions Assets/Scenes/MainMenu.unity
Original file line number Diff line number Diff line change
Expand Up @@ -424,10 +424,10 @@ MonoBehaviour:
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 102900000, guid: 7c2c7ed4ff3454c5e858d92028ee3ac0, type: 3}
m_TargetAssemblyTypeName: UnityEngine.Object, UnityEngine
m_MethodName: set_name
m_Mode: 5
- m_Target: {fileID: 1624312039}
m_TargetAssemblyTypeName: MainMenuController, Assembly-CSharp
m_MethodName: GoToConnectWallet
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
Expand Down Expand Up @@ -487,7 +487,7 @@ GameObject:
- component: {fileID: 516340699}
- component: {fileID: 516340698}
m_Layer: 5
m_Name: HighScore
m_Name: Endless
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
Expand Down Expand Up @@ -556,7 +556,19 @@ MonoBehaviour:
m_TargetGraphic: {fileID: 516340699}
m_OnClick:
m_PersistentCalls:
m_Calls: []
m_Calls:
- m_Target: {fileID: 1624312039}
m_TargetAssemblyTypeName: MainMenuController, Assembly-CSharp
m_MethodName: GoToEndless
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument: GoToEndless
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &516340699
MonoBehaviour:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -1308,7 +1320,7 @@ GameObject:
- component: {fileID: 1649825028}
- component: {fileID: 1649825027}
m_Layer: 5
m_Name: Play
m_Name: QuickGame
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
Expand Down
18 changes: 0 additions & 18 deletions Assets/Scripts/Game Scene/EmotionPopup.cs

This file was deleted.

2 changes: 1 addition & 1 deletion Assets/Scripts/Game Scene/EndGamePanelController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private IEnumerator CaptureScreenshotAndShare()
screenshotSavedText.gameObject.SetActive(true);
}

string finalScore = finalScoreText != null ? finalScoreText.text.Replace("Final Score: ", "") : "N/A";
string finalScore = finalScoreText != null ? finalScoreText.text.Replace("Final Score Is", "") : "N/A";
string tweet = $"Check out my score in Tower It Up! :- ' Final Score: {finalScore} '.\n\n[Screenshot saved at: {screenshotPath} Delete this message and attach the screenshot manually]";
string url = "http://twitter.com/intent/tweet?text=" + UnityWebRequest.EscapeURL(tweet);

Expand Down
Loading

0 comments on commit 5d9db0a

Please sign in to comment.