From 155c6b2793fed6b244b3190ab1c6bb8181e372f8 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期二, 22 一月 2019 09:34:54 +0800
Subject: [PATCH] Merge branch 'master' into JadeDynastyTower

---
 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