void Start()
 {
     endGame        = false;
     isUpdatedScore = false;
     totalSwipe     = 0;
     randomDirection();
     score = manager.GetComponent <fertilizermanager>().rightAnswer;
     directionsebelumnya = directionSwipe.Left;
 }
    void randomDirection()
    {
        int i;

        do
        {
            i         = Random.Range(0, 3);
            direction = (directionSwipe)i;
        } while (directionsebelumnya == direction);

        directionsebelumnya = direction;

        int reset = 0;

        do
        {
            arrow[reset].SetActive(false);//matikan semua arrow object
            reset++;
        }while (reset < 4);
        arrow[i].SetActive(true);//nyalain yang bener
    }