Files
defrain-shooter-unity/Assets/Scripts/GameManager/Manager.cs
DerTyp187 f2e8de1537 idk
2021-10-28 08:29:41 +02:00

16 lines
414 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Mirror;
public class Manager : NetworkManager
{
public override void OnClientConnect(NetworkConnection conn)
{
base.OnClientConnect(conn);
//Debug.Log(conn.identity.gameObject.GetComponent<Player>().username);
//conn.identity.gameObject.GetComponent<Player>().username = "Test";
}
}