Skip to content

Commit

Permalink
chore: 테스트용 설정 (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmJang00 authored Mar 28, 2024
1 parent 8a1f9fc commit 67c181e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
3 changes: 3 additions & 0 deletions Client/Assets/Scripts/Networks/LevelManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,12 @@ protected override IEnumerator OnSceneLoaded(SceneRef newScene, Scene loadedScen

if (Runner.IsSharedModeMasterClient)
{
/*
var players = Managers.NetworkMng.Runner.ActivePlayers.ToList();
int random = Random.Range(0, players.Count);
Player.RPC_ChangePlayerToAlien(Managers.NetworkMng.Runner, players[random], Define.ALIEN_STALKER_ID);
*/
Player.RPC_ChangePlayerToAlien(Managers.NetworkMng.Runner, Runner.LocalPlayer, Define.ALIEN_STALKER_ID);
}
((Managers.SceneMng.CurrentScene) as GameScene).OnSceneLoaded();
}
Expand Down
2 changes: 1 addition & 1 deletion Client/Assets/Scripts/Utils/Define.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public enum CameraMode

#region Value

public const int PLAYER_COUNT = 2;
public const int PLAYER_COUNT = 4;
public const int MAX_ITEM_NUM = 4;
public const int MAX_SKILL_NUM = 4;
public const float PLAYER_SPAWN_POSITION_X = 20f;
Expand Down
10 changes: 0 additions & 10 deletions Client/ProjectSettings/Packages/com.unity.probuilder/Settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,6 @@
"type": "System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
"key": "lightmapping.autoUnwrapLightmapUV",
"value": "{\"m_Value\":true}"
},
{
"type": "System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
"key": "editor.toolbarIconGUI",
"value": "{\"m_Value\":false}"
},
{
"type": "System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
"key": "experimental.enabled",
"value": "{\"m_Value\":false}"
}
]
}
Expand Down

0 comments on commit 67c181e

Please sign in to comment.