您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
39 行
1.1 KiB
39 行
1.1 KiB
using UnityEngine;
|
|
using System.Collections.Generic;
|
|
|
|
namespace HuaweiService.apm
|
|
{
|
|
public class GameAPM_Data : IHmsBaseClass{
|
|
public string name => "com.huawei.agconnect.apms.game.GameAPM";
|
|
}
|
|
public class GameAPM :HmsClass<GameAPM_Data>
|
|
{
|
|
public GameAPM (): base() { }
|
|
public static GameAPM getInstance() {
|
|
return CallStatic<GameAPM>("getInstance");
|
|
}
|
|
public void start() {
|
|
Call("start");
|
|
}
|
|
public void stop() {
|
|
Call("stop");
|
|
}
|
|
public string startLoadingScene(GameAttribute arg0) {
|
|
return Call<string>("startLoadingScene", arg0);
|
|
}
|
|
public void stopLoadingScene(string arg0) {
|
|
Call("stopLoadingScene", arg0);
|
|
}
|
|
public void setCurrentGameAttribute(GameAttribute arg0) {
|
|
Call("setCurrentGameAttribute", arg0);
|
|
}
|
|
public void setReportMinRate(int arg0) {
|
|
Call("setReportMinRate", arg0);
|
|
}
|
|
public void enableGamePlugin(bool arg0) {
|
|
Call("enableGamePlugin", arg0);
|
|
}
|
|
|
|
|
|
}
|
|
}
|