Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

关于初始化的问题 #160

Open
SearchForPluto opened this issue Mar 20, 2020 · 0 comments
Open

关于初始化的问题 #160

SearchForPluto opened this issue Mar 20, 2020 · 0 comments

Comments

@SearchForPluto
Copy link

Issue

  • [x ] I have alreday read instructions in CONTRIBUTING.
    我已仔细阅读CONTRIBUTING中的相关内容。

  • [x ] I have alreday read instructions in README.
    我已仔细阅读README中的相关内容。

Change the [ ] into [x] to show my acceptance.
[ ] 变为 [x] 来表示我接受了这些问题。

@xiazeyu @EYHN
L2Dwidget.init({
model: {
jsonPath: 'https://unpkg.com/live2d-widget-model-shizuku@latest/assets/shizuku.model.json',
scale: 1,
},
display: {
superSample: 3,
width: 75,
height: 150,
position: 'right',
hOffset: 0,
vOffset: -20,
},
mobile: {
show: true,
scale: 0.8,
motion: true,
},
name: {
canvas: 'live2dcanvas',
div: 'live2d-widget',
},
react: {
opacity: 1.2,
},
dev: {
border: false
},
dialog: {
enable: true,
hitokoto: true
}
我是这样初始化的但是无法加载出dialog

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant