// Use this for initialization void Start() { loadCanvas.SetActive(true); audio = this.GetComponent <AudioSource>(); fade = this.GetComponent <SceneFade>(); timer = butDir.GetComponent <TimerScript>(); Round = this.GetComponent <RoundDirector>(); Fight = this.GetComponent <FightDirector>(); Finish = this.GetComponent <FinishScript>(); Winner = this.GetComponent <WinnerDirector>(); TimeUp = this.GetComponent <TimeUPDirector>(); Director = this.GetComponent <GameDirector>(); GetGame = this.GetComponent <GetGameScript>(); SMane = this.GetComponent <SceneMane>(); player1 = GameObject.FindGameObjectWithTag("P1"); player2 = GameObject.FindGameObjectWithTag("P2"); PController1P = player1.GetComponent <PlayerController>(); PController2P = player2.GetComponent <PlayerController>(); intentions.Add(GameObject.Find("AoiIntentionObj").GetComponent <AIIntention>()); intentions.Add(GameObject.Find("HikariIntentionObj").GetComponent <AIIntention>()); intentions.Add(GameObject.Find("XionIntentionObj").GetComponent <AIIntention>()); intentions.Add(GameObject.Find("ChloeIntentionObj").GetComponent <AIIntention>()); intentions.Add(GameObject.Find("MariIntentionObj").GetComponent <AIIntention>()); intentions.Add(GameObject.Find("ShiroganeIntentionObj").GetComponent <AIIntention>()); fade.ImageAlpha = 1; sounds.Add(round1); sounds.Add(round2); sounds.Add(round3); }
public GameDirector(RoundDirector roundDirector, IStageDataProvider stageDataProvider) { _roundDirector = roundDirector; _stageDataProvider = stageDataProvider; }