Esempio n. 1
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();
    }
Esempio n. 2
0
 void Awake()
 {
     rotationSelection = Mainframe.GetComponent <RotationSelection>();
 }
 void Start()
 {
     targetRotation    = transform.rotation;
     rotationSelection = Mainframe.GetComponent <RotationSelection>();
 }