trouble-in-terror-town/Assets/Scripts/GameManager.cs
Mikolaj 073d076628 Added roles with runtime json loading also did some more
Added roles with runtime json loading also added a conceptual round system
2022-05-05 21:58:03 +02:00

29 lines
610 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour
{
private RoleLoader _roleLoader;
private GameEventManager _gameEventManager;
private RoundSystem _roundSystem;
// Start is called before the first frame update
void Start()
{
_gameEventManager = GetComponent<GameEventManager>();
_gameEventManager.TriggerGameEvent("StartGame");
_roundSystem = FindObjectOfType<RoundSystem>();
}
// Update is called once per frame
void Update()
{
}
}