public GameManager(LevelManager levelManager, MainframeController mainframe, ICoroutineExecuter coroutines, float loadSceneTime) { this.mainframe = mainframe; this.loadSceneTime = loadSceneTime; this.levelManager = levelManager; this.coroutines = coroutines; }
void Start() { rotationSelection = mainframe.GetComponent <RotationSelection>(); GameObject MainframeController = GameObject.FindWithTag("MainframeController"); mainframeController = MainframeController.GetComponent <MainframeController>(); mainframeActionSelection = MainframeController.GetComponent <MainframeActionSelection>(); positionOperator = mainframeBody.GetComponent <PositionOperator>(); materialChanger = GetComponent <MaterialChanger>(); guiManager = guiManagerObject.GetComponent <GUIManager>(); PreparationOfTheFirstGame(); }
private void Awake() { mainframeController = mainframe.GetComponent <MainframeController>(); }