少年修仙传客户端代码仓库
client_linchunjie
2018-09-19 9fe4964c60e82735b165001d6e3d2914f73184e5
System/WorldMap/WorldMapRealmSitBehaviour.cs
@@ -1,35 +1,35 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TableConfig;
namespace Snxxz.UI
{
    public class WorldMapRealmSitBehaviour : MonoBehaviour
    {
        [SerializeField] PositionTween tween;
        MapModel m_MapModel;
        MapModel mapModel
        {
            get
            {
                return m_MapModel ?? (m_MapModel = ModelCenter.Instance.GetModel<MapModel>());
            }
        }
        RealmModel m_RealmModel;
        RealmModel realmModel
        {
            get
            {
                return m_RealmModel ?? (m_RealmModel = ModelCenter.Instance.GetModel<RealmModel>());
            }
        }
        public void Init(WorldMapArea _area)
        {
            tween.gameObject.SetActive(false);
        }
    }
}
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TableConfig;
namespace Snxxz.UI
{
    public class WorldMapRealmSitBehaviour : MonoBehaviour
    {
        [SerializeField] PositionTween tween;
        MapModel m_MapModel;
        MapModel mapModel
        {
            get
            {
                return m_MapModel ?? (m_MapModel = ModelCenter.Instance.GetModel<MapModel>());
            }
        }
        RealmModel m_RealmModel;
        RealmModel realmModel
        {
            get
            {
                return m_RealmModel ?? (m_RealmModel = ModelCenter.Instance.GetModel<RealmModel>());
            }
        }
        public void Init(WorldMapArea _area)
        {
            tween.gameObject.SetActive(false);
        }
    }
}