public UnityServices() { GameService = new UnityGameService(); InputService = new UnityInputService(); TimeService = new UnityTimeService(); BoardFactory = new WoodBoardFactory(); }
void Start() { UI = GetComponent <UI>(); WavesSatting = new WavesSatting(); TimeService = new UnityTimeService(); timeRemainingController = new TimeRemainingController(); LevelGame.SetActive(false); UI.GameUi.SetActive(false); UI.Menu.SetActive(true); }
public void Initialize(Contexts contexts) { PhysicsService = new PhysicsService(contexts); UnityTimeService = new UnityTimeService(contexts); CameraServices = new CameraServices(contexts); }