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