void Start() { minigameObj = GameObject.Find("Minigame1"); minigame = minigameObj.GetComponent <Minigame1>(); }