diff --git a/Assets/Scripts/DongYouLiQing/MiniMap/MiniMapCameraManager.cs b/Assets/Scripts/DongYouLiQing/MiniMap/MiniMapCameraManager.cs index cb36049..94d0468 100644 --- a/Assets/Scripts/DongYouLiQing/MiniMap/MiniMapCameraManager.cs +++ b/Assets/Scripts/DongYouLiQing/MiniMap/MiniMapCameraManager.cs @@ -44,7 +44,7 @@ public class MiniMapCameraManager : MonoBehaviour /// /// 初始化 /// - void Start() + void Awake() { canvas = GameObject.Find("Canvas").GetComponent(); miniMap = GameObject.Find("Minimap Image").transform;