| | |
| | | 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);
|
| | | }
|
| | | }
|
| | | }
|
| | |
|