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