public override void SetPanelData(PanelData aPanelData) { GamePanelData pd = aPanelData as GamePanelData; if (pd == null) { return; } myLevelData = pd.myLevelData; }
public override void SetPanelData(PanelData aPanelData) { GamePanelData pd = aPanelData as GamePanelData; if (pd == null) { Debug.Log("GamePanelData is null"); return; } currenLevelData = pd.CurrentLevel; SetUpLevel(); }