mirror of
				https://github.com/DerTyp7/defrain-shooter-unity.git
				synced 2025-10-31 21:47:07 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			414 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			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";
 | |
|     }
 | |
| }
 | 
