Example #1
0
    void Tactics()
    {
        var talk      = TalkStaitas.Ins();
        var battleobj = BattleObj.Ins();

        battleobj.BattlePanel.SetActive(true);
        talk.MessageObj.SetActive(false);
    }
Example #2
0
    /// <summary>次に呼び出す話の要素数</summary>
    /// <param name="use_talk_index">会話の要素数</param>
    static public void GetNextText(int use_talk_index)
    {
        var talk = TalkStaitas.Ins();

        if (use_talk_index < privete_Talk.Length)
        {
            talk.Text = privete_Talk[use_talk_index];
        }
    }
Example #3
0
    /// <summary>パネルでいいえを選択した時の処理</summary>
    static public void NextPanelOpenNum()
    {
        panel_index++;
        var talk = TalkStaitas.Ins();

        if (panel_index < private_num.Length)
        {
            talk.PanelOpenNum = private_num[panel_index];
        }
    }
Example #4
0
    private void Awake()
    {
        var talk = TalkStaitas.Ins();

        talk.TextSpeed  = TextSpeed;
        talk.Text       = Talk[talk.GetMessageIndex()];
        talk.GetText    = text;
        talk.TextLength = Talk.Length;
        privete_Talk    = Talk;
        private_num     = PanelNum;

        talk.GetPanel     = SelectPanel;
        talk.PanelOpenNum = private_num[panel_index];

        talk.MessageObj = messageObj;

        talk.BackArray = backImage;
    }