Exemple #1
0
 void Start()
 {
     mainframeActionSelection = mainframe.GetComponent <MainframeActionSelection>();
     follower  = GetComponent <SplineFollower>();
     arrayTest = gameManager.GetComponent <ArrayTest>();
     orbScript = orb.GetComponent <OrbScript>();
     DifficultyScript.elapsedTime = Time.time;
 }
Exemple #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();
    }
Exemple #3
0
 void Awake()
 {
     mainframeActionSelection = Mainframe.GetComponent <MainframeActionSelection>();
 }