Пример #1
0
 public GameManager(LevelManager levelManager, MainframeController mainframe, ICoroutineExecuter coroutines, float loadSceneTime)
 {
     this.mainframe     = mainframe;
     this.loadSceneTime = loadSceneTime;
     this.levelManager  = levelManager;
     this.coroutines    = coroutines;
 }
Пример #2
0
    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>();
 }