Esempio n. 1
0
 public void ReleaseMap()
 {
     GestureManager.Instance.OnGestureTap -= OnGestureClickTap;
     GameManager.Instance.OnClickTechBtn  -= OnClickTech;
     m_currentLevelData.Release();
     m_currentLevelData = null;
 }
Esempio n. 2
0
 public void CreateLevelData(LevelType _type, Transform parent, object arg = null)
 {
     if (_type == LevelType.EASY)
     {
         m_currentLevelData = CreateLevelData <EasyLevelMapData>(parent, arg);
     }
 }