private void Start() { count = 0; defaultPosition = obj.transform.position; script = PracticeButton.GetComponent <PracticeButtonScript>(); replacer = MainCamera.GetComponent <Replacer>(); cameraScript = MainCamera.GetComponent <CameraScript>(); }
private void Start() { practiceButtonScript = PracticeButton.GetComponent <PracticeButtonScript>(); turnOnButtonScript = TurnOnButton.GetComponent <TurnOnButtonScript>(); columnRotationScript = Column.GetComponent <ColumnRotationScript>(); }
private void Start() { script = practiceButton.GetComponent <PracticeButtonScript>(); }