// Start is called before the first frame update void Start() { sun = GameObject.Find("Sun"); camera = GetComponent <Camera>(); tapController = GameObject.Find("Controller").GetComponent <TapController>(); pinchController = GameObject.Find("Controller").GetComponent <PinchController>(); swipeController = GameObject.Find("Controller").GetComponent <SwipesController>(); }
// Start is called before the first frame update void Start() { currentStage = Stages.WaitingForStart; tutorialZoomIn = GameObject.Find("SpreadGesture"); tutorialZoomOut = GameObject.Find("PinchGesture"); pinchController = GameObject.Find("Controller").GetComponent <PinchController>(); tutorialZoomIn.SetActive(false); tutorialZoomOut.SetActive(false); }