コード例 #1
0
 public void Accept()
 {
     FindObjectOfType <ChatSystem>().Whisper(AskedUser, "ACCEPT_INVITE");
     FindObjectOfType <PartyMatchmaker>().SetLeader(AskedUser);
     panel.SetStateToOpen();
     panel.Close();
     currentAsk = false;
 }
コード例 #2
0
 public static void SetStateToOpen(string motionName)
 {
     if (EMMotionManager.instance.openCloseMotions.TryGetValue(motionName, out openCloseMotion))
     {
         openCloseMotion.SetStateToOpen();
     }
 }
コード例 #3
0
ファイル: Note.cs プロジェクト: Blueteak/SWEngFinal
    IEnumerator ShowAndHide(float seconds)
    {
        motion.SetStateToClose();
        motion.Open();
        yield return(new WaitForSeconds(seconds));

        motion.SetStateToOpen();
        motion.Close();
    }