From 1d15ca7477ef5fa9b902a252330db9831501fc28 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期二, 22 一月 2019 11:18:17 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master' into SpringFestival

---
 Core/MapEditor/Behavior/Bhv_MapData.cs |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/Core/MapEditor/Behavior/Bhv_MapData.cs b/Core/MapEditor/Behavior/Bhv_MapData.cs
index 2aba8a9..62c9612 100644
--- a/Core/MapEditor/Behavior/Bhv_MapData.cs
+++ b/Core/MapEditor/Behavior/Bhv_MapData.cs
@@ -101,6 +101,14 @@
                     eventList.Add(_eventBhv);
                     _eventBhv.Load(br);
                 }
+                else if (_type == Evt.E_EventType.SceneObject)
+                {
+                    var _eventBhv = _go.AddComponent<Bhv_Evt_RefreshSceneObject>();
+                    _eventBhv.type = _type;
+                    _eventBhv.transform.SetParent(transform.Find(NodeName_EventList));
+                    eventList.Add(_eventBhv);
+                    _eventBhv.Load(br);
+                }
             }
             _count = br.ReadInt32();
             for (int i = 0; i < _count; ++i)

--
Gitblit v1.8.0