Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dingyi222666 committed Mar 18, 2022
1 parent c591c8b commit 54e2f00
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

### 使用方式

> 1.首先接入androlua-standlone到当前项目
> 首先接入androlua-standlone到当前项目
```groovy
implementation "io.github.dingyi222666:androlua-standlone:1.0.1"
```

> 2. 在项目的Application的onCreate方法里初始化LuaGlobal
> 在项目的Application的onCreate方法里初始化LuaGlobal
```kotlin
//kotlin
Expand All @@ -29,13 +29,13 @@ LuaGlobal.init(this)

SingleLuaVM 是简单低耦合的运行单个lua虚拟机的类,无需为虚拟机设置lua运行路径以及lua目录即可运行lua代码

> 1.创建类
> 创建类
```kotlin
val vm = SingleLuaVM()
```

> 2.运行代码
> 运行代码
```kotlin

Expand Down

0 comments on commit 54e2f00

Please sign in to comment.