Пример #1
0
 public void sentences5()
 {
     nama      = "Jaka";
     sentences = "Baiklah";
     StartCoroutine(ShowText());
     UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
 }
Пример #2
0
 void Update()
 {
     if (enter)
     {
         if (Input.GetKeyDown(KeyCode.E))
         {
             pindah.nextdialog();
             enter = false;
         }
     }
     if (plyr)
     {
         if ((Input.GetKeyDown(KeyCode.E)) && (isOpen == false))
         {
             Dialog.SetActive(true);
             wJaka.SetActive(false);
             wSultan.SetActive(true);
             nama      = "Raja";
             sentences = "Ada apa gerangan anak muda";
             StartCoroutine(ShowText());
             UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
             isOpen = true;
         }
     }
 }
Пример #3
0
 public void sentences8()
 {
     wajahDukun();
     nama      = "Ki Demanggung";
     sentences = "Pergilah ke sanggar Ki Widodari yang ada di selatan desa, dan mintalah bantuan darinya";
     StartCoroutine(ShowText());
     UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
 }
Пример #4
0
 public void sentences7()
 {
     wajahDukun();
     nama      = "Ki Demanggung";
     sentences = "Kamu harus mencari 7 kembang tersebut sendiri";
     StartCoroutine(ShowText());
     UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
 }
Пример #5
0
 public void sentences6()
 {
     wajahDukun();
     nama      = "Ki Demanggung";
     sentences = "Pertama untuk pergi ke sana kau harus mandi kembang 7 rupa";
     StartCoroutine(ShowText());
     UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
 }
Пример #6
0
 public void sentences5()
 {
     nama = "Jaka";
     wajahJaka();
     sentences = "Syarat apa itu mbah?";
     StartCoroutine(ShowText());
     UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
 }
Пример #7
0
 public void sentences4()
 {
     wajahDukun();
     nama      = "Ki Demanggung";
     sentences = "Tidak mudah bagi manusia biasa menyebrang ke dunia jin, kamu harus melakukan syarat tertentu";
     StartCoroutine(ShowText());
     UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
 }
Пример #8
0
 public void sentences3()
 {
     nama = "Jaka";
     wajahJaka();
     sentences = "Aku harus segera menyelamatkannya";
     StartCoroutine(ShowText());
     UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
 }
Пример #9
0
 public void sentences2()
 {
     nama = "Jaka";
     wajahJaka();
     sentences = "Maaf mbah, adikku baru saja diculik genderuwo petang tadi";
     StartCoroutine(ShowText());
     UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
 }
Пример #10
0
 public void sentences1()
 {
     wajahDukun();
     nama      = "Ki Demanggung";
     sentences = "Ada apa kamu datang kemari? Tidak sopan malam2 bertamu, menggangguku beristirahat";
     StartCoroutine(ShowText());
     UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
 }
Пример #11
0
 public void sentences8()
 {
     WajahJaka();
     nama      = "Jaka";
     sentences = "Terimakasih mbah, saya akan segera selamatkan adik saya";
     StartCoroutine(ShowText());
     UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
 }
Пример #12
0
 public void sentences6()
 {
     WajahWidodari();
     nama      = "Ki Widodari";
     sentences = "Dibutuhkan kesabaran dan waktu yang lama untuk menguasai silat";
     StartCoroutine(ShowText());
     UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
 }
Пример #13
0
 public void sentences7()
 {
     WajahWidodari();
     nama      = "Ki Widodari";
     sentences = "Sebagai gantinya akan kuberikan Mawar Putih";
     StartCoroutine(ShowText());
     UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
 }
Пример #14
0
 public void sentences3()
 {
     WajahWidodari();
     nama      = "Ki Widodari";
     sentences = "Tidak semudah itu mendapatkan kesaktian";
     StartCoroutine(ShowText());
     UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
 }
Пример #15
0
 public void sentences4()
 {
     WajahWidodari();
     nama      = "Ki Widodari";
     sentences = "Kamu harus belajar dasar pencaksilat dariku terlebih dahulu";
     StartCoroutine(ShowText());
     UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
 }
Пример #16
0
 public void sentences1()
 {
     WajahJaka();
     nama      = "Jaka";
     sentences = "Adikku diculik genderuwo. Ki Demanggung menyuruhku datang kemari";
     StartCoroutine(ShowText());
     UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
 }
Пример #17
0
 public void sentences2()
 {
     WajahJaka();
     nama      = "Jaka";
     sentences = "bisakah kamu membantuku?";
     StartCoroutine(ShowText());
     UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
 }
Пример #18
0
 public void sentences6()
 {
     WajahGendruwa();
     nama      = "Gendruwo";
     sentences = "Tidak, aku akan membawa dia ke istana untuk ritual bulan purnama";
     StartCoroutine(ShowText());
     UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
 }
Пример #19
0
 public void sentences5()
 {
     WajahRatri();
     nama      = "Jaka";
     sentences = "Hei, Gendruwo apa yang kau lakukan, lepaskan dia!";
     StartCoroutine(ShowText());
     UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
 }
Пример #20
0
 public void sentences4()
 {
     WajahRatri();
     nama      = "Ratri";
     sentences = "Aaaa lepaskan aku, kakak tolong aku";
     StartCoroutine(ShowText());
     UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
 }
Пример #21
0
    public void sentences3()
    {
        WajahGendruwa();
        nama      = "Gendruwo";
        sentences = "Akhirnya aku bisa meningkatkan kesaktianku dengan mengorbankan darah anak ini";
        StartCoroutine(ShowText());

        UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
    }
Пример #22
0
    public void sentences1()
    {
        WajahRatri();
        sentences = "Mas pulang duluan saja, nanti ratri nyusul";
        nama      = "Ratri";

        StartCoroutine(ShowText());
        UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
    }
Пример #23
0
    public void sentences2()
    {
        WajahGendruwa();
        gends.act1();
        sentences = "Haha kena juga kau";
        nama      = "Gendruwo";

        StartCoroutine(ShowText());
        UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
    }
Пример #24
0
    public void Start()
    {
        PlayerPrefs.SetInt("Position", 0);
        playerx = PlayerPrefs.GetInt("Position");
        WajahWidodari();
        nama      = "Ki Widodari";
        sentences = "Ada apa anak muda kamu tampak tergesa-gesa";
        StartCoroutine(ShowText());
        UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
        index = 0;

        Invoke("TransFalsing", 2);
    }
Пример #25
0
    public void Start()
    {
        PlayerPrefs.SetInt("Position", 0);
        playerx   = PlayerPrefs.GetInt("Position");
        nama      = "JAKA";
        sentences = "Tok...tok...Kula Nuwun";
        StartCoroutine(ShowText());
        UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
        index = 0;
        wajahJaka();

        Invoke("TransFalsing", 2);
    }
Пример #26
0
    public void Start()
    {
        PlayerPrefs.SetInt("Position", 0);
        playerx = PlayerPrefs.GetInt("Position");

        //sentences awal

        sentences = "Ratri, Ayo pulang! Sudah mulai malam";
        nama      = "Jaka";
        WajahJaka();
        StartCoroutine(ShowText());
        UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
        index = 0;
    }
Пример #27
0
    IEnumerator ShowText()
    {
        UINama.GetComponent <UnityEngine.UI.Text>().text = nama;
        for (int i = 0; i < sentences.Length; i++)
        {
            btn.SetActive(false);
            currentText = sentences.Substring(0, i + 1);
            UISentences.GetComponent <UnityEngine.UI.Text>().text = currentText;
            yield return(new WaitForSeconds(delay));

            if (Input.GetMouseButton(0))
            {
                UISentences.GetComponent <UnityEngine.UI.Text>().text = sentences;
                break;
            }
        }
        showButton();
    }