mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
WebGL适配
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using UnityEngine;
|
||||
#if !UNITY_WEBGL
|
||||
using UnityEngine;
|
||||
|
||||
namespace TEngine
|
||||
{
|
||||
@@ -87,4 +88,5 @@ namespace TEngine
|
||||
BuglyAgent.ConfigDefault(channel = null, version, userID = "Unknow", time = 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
@@ -109,7 +109,9 @@ namespace TEngine
|
||||
{
|
||||
base.Awake();
|
||||
|
||||
#if !UNITY_WEBGL
|
||||
BuglyManager.Instance.Init(Resources.Load<BuglyConfig>("BuglyConfig"));
|
||||
#endif
|
||||
|
||||
GameTime.StartFrame();
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
using UnityEngine;
|
||||
#if !UNITY_WEBGL
|
||||
using UnityEngine;
|
||||
|
||||
namespace TEngine
|
||||
{
|
||||
@@ -172,4 +173,5 @@ namespace TEngine
|
||||
High
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
@@ -1,3 +1,4 @@
|
||||
#if !UNITY_WEBGL
|
||||
// ----------------------------------------
|
||||
//
|
||||
// BuglyAgent.cs
|
||||
@@ -1083,4 +1084,5 @@ public sealed class BuglyAgent
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
#endif
|
@@ -9,6 +9,7 @@
|
||||
//
|
||||
// ----------------------------------------
|
||||
//
|
||||
#if !UNITY_WEBGL
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
@@ -77,4 +78,4 @@ public class BuglyInit : MonoBehaviour
|
||||
return extras;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user