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