コード例 #1
0
        private void Render(DialogueData data)
        {
            mediated.Cleanup();
            mediated.Text            = data.Message;
            mediated.BackgroundAlpha = data.BackgroundAlpha;

            var index = 0;

            foreach (var actionData in data.Actions)
            {
                mediated.AddButton(actionData.Label, index);
                index++;
            }

            mediated.Show();
        }
コード例 #2
0
 private void Show(DialogueData data)
 {
     dataStack.Push(data);
     Render(data);
 }