protected void lmralpha(GameObject lmr, string s1) { if (lmr.GetComponent <Image>().sprite != Resources.Load <Sprite>("Image/" + s1) as Sprite) { lmr.GetComponent <Image>().sprite = Resources.Load <Sprite>("Image/" + s1) as Sprite; StartCoroutine(Sumthing.view(lmr.GetComponent <CanvasGroup>(), 1, 0, 0, 0)); } }
public void Print(string t) { string[] a; a = t.Split(','); open(a[0], a[1]); SumVariable.keyboardopen = false; StartCoroutine(Sumthing.view(box, 0, 1, 0.0625, 0.005f)); StartCoroutine(word()); this.GetComponent <Animator>().enabled = false; }
//--------------------------------------------------------------------------------- protected void meet(string a, string s) { open(a, s); button1.GetComponent <Canvas>().sortingOrder = 150; button2.GetComponent <Canvas>().sortingOrder = 150; GameObject.Find("Panel").GetComponent <Canvas>().sortingOrder = 10; GameObject.Find("talkbox").GetComponent <Canvas>().sortingOrder = 1; SumVariable.keyboardopen = false; StartCoroutine(Sumthing.view(box, 0, 1, 0.0625, 0.005f)); StartCoroutine(word()); }
public void nexts() { StartCoroutine(Sumthing.view(wx, 0, 1, 0.0625, 0.03f)); Invoke("nexts2", 0.5f); }