Baked Lighting maps

This commit is contained in:
brausjonas
2023-02-05 21:06:31 +01:00
parent 59c7021388
commit b0ddf261f4
82 changed files with 8405 additions and 388 deletions
+6 -1
View File
@@ -25,8 +25,11 @@ public class Client : MonoBehaviour
[SerializeField] private TMP_Text[] playerNameTexts;
[SerializeField] private GameObject[] playerInfo;
[SerializeField] private TMP_Text fpsText;
private void Start()
{
for (int i = 0; i < 4; i++)
{
playerInfo[i].SetActive(false);
@@ -48,6 +51,8 @@ public class Client : MonoBehaviour
private void Update()
{
fpsText.text = (int)(Time.frameCount / Time.time) + " FPS";
if (jobs.Count > 0)
{
Job job = jobs.Dequeue();
@@ -131,7 +136,7 @@ public class Client : MonoBehaviour
{
for (int i = 0; i < players.Length; i++)
{
if (players[i] != null)
if (!(players[i] is null))
{
if (i == player)
{