From 8716403033b7c70b00b61bc6c74af04e4d248ecc Mon Sep 17 00:00:00 2001
From: chenxin <chenxin6991@163.com>
Date: Wed, 28 Oct 2020 10:20:07 +0800
Subject: [PATCH] little commit

---
 Assets/Scripts/TowerDefense/UI/EndlessUIStart.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Assets/Scripts/TowerDefense/UI/EndlessUIStart.cs b/Assets/Scripts/TowerDefense/UI/EndlessUIStart.cs
index 7bbeebe..183e161 100644
--- a/Assets/Scripts/TowerDefense/UI/EndlessUIStart.cs
+++ b/Assets/Scripts/TowerDefense/UI/EndlessUIStart.cs
@@ -52,6 +52,8 @@
     // Start is called before the first frame update
     void Start()
     {
+        if (GA_SDK_Manager.Ins == null)
+            gameObject.AddComponent<GA_SDK_Manager>();
         GA_SDK_Manager.Ins.ArriveBattle();//埋点
         GA_SDK_Manager.Ins.Statistics(4);//埋点
 

--
Gitblit v1.9.1