コード例 #1
0
 public UnityServices()
 {
     GameService  = new UnityGameService();
     InputService = new UnityInputService();
     TimeService  = new UnityTimeService();
     BoardFactory = new WoodBoardFactory();
 }
コード例 #2
0
 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);
 }
コード例 #3
0
ファイル: Services.cs プロジェクト: valera212/Rescues
 public void Initialize(Contexts contexts)
 {
     PhysicsService   = new PhysicsService(contexts);
     UnityTimeService = new UnityTimeService(contexts);
     CameraServices   = new CameraServices(contexts);
 }