コード例 #1
0
    public static void Show(string title, string content, WorkDone cb = null)
    {
        GameObject canvas = GameObject.Find("Canvas");
        GameObject obj    = canvas.transform.Find("DialogBase").gameObject;
        DialogBase dlg    = obj.GetComponent <DialogBase>();

        dlg.DoShow(obj, title, content, cb);
    }