net init
This commit is contained in:
@@ -4,9 +4,9 @@ using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using TMPro;
|
||||
using Unity.VisualScripting;
|
||||
using Mirror;
|
||||
|
||||
public class GameManager : MonoBehaviour
|
||||
public class GameManager : NetworkBehaviour
|
||||
{
|
||||
public static Action<Puck> OnSelectedPuckChanged;
|
||||
public static Action<Team> OnTeamChanged;
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
using UnityEngine;
|
||||
using Mirror;
|
||||
public class NetManager : NetworkManager
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c4e95ceb8bcd79f488de2cb8a5d0ca2d
|
||||
@@ -14,7 +14,6 @@ public class StatCanvas : MonoBehaviour
|
||||
}
|
||||
|
||||
instance = this;
|
||||
DontDestroyOnLoad(gameObject);
|
||||
}
|
||||
|
||||
void Start()
|
||||
|
||||
Reference in New Issue
Block a user