| | |
| | | if (AssetSource.refdataFromEditor) |
| | | { |
| | | #if UNITY_EDITOR |
| | | _path = ResourcesPath.ResourcesOutPath + "Refdata/ScriptableObject/MapData/" + mapID + ".gd"; |
| | | |
| | | _path = StringUtility.Contact(ResourcesPath.CONFIG_FODLER, |
| | | "/", |
| | | MapEditorData_Suffix, |
| | | mapID, |
| | | ".bytes"); |
| | | #endif |
| | | } |
| | | else |
| | | { |
| | | _path = AssetVersionUtility.GetAssetFilePath(StringUtility.Contact("mapdata/", mapID, ".gd")); |
| | | _path = AssetVersionUtility.GetAssetFilePath(StringUtility.Contact("config/", MapEditorData_Suffix, mapID, ".bytes")); |
| | | } |
| | | MapData _mapData = null; |
| | | if (File.Exists(_path)) |
| | |
| | | { |
| | | _event = new Evt_RefreshMonster(); |
| | | } |
| | | else if (_type == Evt.E_EventType.SceneObject) |
| | | { |
| | | _event = new Evt_RefreshSceneObject(); |
| | | } |
| | | if (_event != null) |
| | | { |
| | | _event.type = _type; |
| | | _event.Load(br); |
| | | eventDict[_event.id] = _event; |
| | | } |