mirror of
https://github.com/DerTyp7/defrain-shooter-unity.git
synced 2025-10-30 21:17:09 +01:00
idk
This commit is contained in:
15
Assets/Scripts/GameManager/Manager.cs
Normal file
15
Assets/Scripts/GameManager/Manager.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
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";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user