Skip to content

Commit

Permalink
refactor: rename method according to recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
4kills committed May 17, 2022
1 parent 8b702b8 commit 389cdc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Assets/Scenes/MainMenu.unity
Original file line number Diff line number Diff line change
Expand Up @@ -1420,8 +1420,8 @@ MonoBehaviour:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 2078510932}
m_TargetAssemblyTypeName: MainMenu, Assembly-CSharp
m_MethodName: PlayGame
m_TargetAssemblyTypeName: MainMenu, Scripts
m_MethodName: PlaySingleplayerGame
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/MainMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
public class MainMenu : MonoBehaviour
{
// Start is called before the first frame update
public void PlayGame()
public void PlaySingleplayerGame()
{
Statics.gameMode = Statics.GameMode.SINGLEPLAYER;
SceneManager.LoadScene(sceneBuildIndex: 1);
Expand Down

0 comments on commit 389cdc4

Please sign in to comment.