mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
Bugly
Bugly
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
namespace TEngine
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace TEngine
|
||||||
{
|
{
|
||||||
public class BuglyManager
|
public class BuglyManager
|
||||||
{
|
{
|
||||||
@@ -18,11 +20,11 @@
|
|||||||
BuglyAgent.InitWithAppId (config.androidId);
|
BuglyAgent.InitWithAppId (config.androidId);
|
||||||
#endif
|
#endif
|
||||||
BuglyAgent.EnableExceptionHandler();
|
BuglyAgent.EnableExceptionHandler();
|
||||||
Log.Info($"Init Bugly Successes");
|
Debug.Log($"Init Bugly Successes");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Log.Fatal("Init Bugly Fatal buglyConfig.asset is null!");
|
Debug.LogError("Init Bugly Fatal buglyConfig.asset is null!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3f513275928c09f42ad6c2cbdd56cbec
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@@ -0,0 +1,19 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!114 &11400000
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: acf9017ac21e41dc97f7c328c0d6017f, type: 3}
|
||||||
|
m_Name: BuglyConfig
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
channelId: TEngine
|
||||||
|
androidId: 100001
|
||||||
|
androidKey: TEngine
|
||||||
|
iosId: 100001
|
||||||
|
iosKey: TEngine
|
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 574540cb1bee6a247aa8a2539b87b0fb
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@@ -109,6 +109,8 @@ namespace TEngine
|
|||||||
{
|
{
|
||||||
base.Awake();
|
base.Awake();
|
||||||
|
|
||||||
|
BuglyManager.Instance.Init(Resources.Load<BuglyConfig>("BuglyConfig"));
|
||||||
|
|
||||||
GameTime.StartFrame();
|
GameTime.StartFrame();
|
||||||
|
|
||||||
InitTextHelper();
|
InitTextHelper();
|
||||||
|
Reference in New Issue
Block a user