浏览代码

fix bug

/main
meng.yan 3 年前
当前提交
bb0f90cc
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 8
      Documentation/apm.md

8
Documentation/apm.md


### Optional: Using APM Game SDK
In the initialization method at the beginning of the game, call the startGamePlugin() method of APMS to enable the SDK
```
void Start()
{
// In order to start APMS Game Plugin, you need to call this method

// ...
}
```
```
void OnDestroy() {
// In order to start APMS Game Plugin, you need to call this method
GameAPM.getInstance().stop();

```
```
public void scenceLoadToGame()
{
// start record the loading scene time

// stop record the loading scene time
GameAPM.getInstance().stopLoadingScene(scene);
}
```
Prerequisites:
1. Your application has enabled the APM service.
2. Your application has integrated the APM Game SDK and runs on the device.

正在加载...
取消
保存