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