Inheritance: MonoBehaviour
Exemplo n.º 1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            ConcertController concertController = new ConcertController();

            Application.Run(new Form1(concertController));
        }
Exemplo n.º 2
0
 public Form1(ConcertController concertController)
 {
     InitializeComponent();
     concertStorage         = concertController.concertStorage;
     creatingConcert        = new CreatingConcert(this);
     addingPerformance      = new AddingPerformance(this);
     resultform             = new ResultForm(this);
     mixPerformances        = new MixPerformances(this);
     this.concertController = concertController;
 }
Exemplo n.º 3
0
    void Awake()
    {
        songController = (SongController)FindObjectOfType (typeof(SongController));
        concertController = (ConcertController)FindObjectOfType (typeof(ConcertController));
        tourController = (TourController)FindObjectOfType(typeof(TourController));
        merchController = (MerchController)FindObjectOfType(typeof(MerchController));
        equipmentController = (EquipmentController)FindObjectOfType(typeof(EquipmentController));
        hudUI = (HudUI)FindObjectOfType(typeof(HudUI));

        currencyState = GameState.instance.Currency;
    }
Exemplo n.º 4
0
    void Awake()
    {
        songController = (SongController)GameObject.FindObjectOfType(typeof(SongController));
        concertController = (ConcertController)GameObject.FindObjectOfType(typeof(ConcertController));
        tourController = (TourController)GameObject.FindObjectOfType(typeof(TourController));

        musicSources = new AudioSource[numberOfMusicBars];

        musicSoruceGameObject = GameObject.Find(musicSoruceGameObjectPath);
        GetAllChildMusicSource();

        //inic SFX
        base.InitAudioManager();
    }
 public ConcertModel(ThorDbContext ctx)
 {
     _controller = new ConcertController(ctx);
 }
Exemplo n.º 6
0
 void Awake()
 {
     concertController = (ConcertController)FindObjectOfType(typeof(ConcertController));
 }
Exemplo n.º 7
0
 void Awake()
 {
     viewRoot = GameObject.Find("View");
     concertController = FindObjectOfType<ConcertController>();
 }