added NetworkManager compontent

This commit is contained in:
DerTyp187
2021-10-20 07:53:44 +02:00
parent 0ce5bb61d6
commit c913fff83a
7 changed files with 312 additions and 225 deletions

View File

@@ -12,8 +12,10 @@ public class Player : MonoBehaviour
private void Start()
{
GameManager = GameObject.Find("GameManager");
playerMaster = GameManager.GetComponent<PlayerMaster>();
InvokeRepeating("Sync", 3.0f, SyncIntervalSeconds);
//InvokeRepeating("Sync", 3.0f, SyncIntervalSeconds);
}