예제 #1
0
    public override void SetPanelData(PanelData aPanelData)
    {
        GamePanelData pd = aPanelData as GamePanelData;

        if (pd == null)
        {
            return;
        }
        myLevelData = pd.myLevelData;
    }
예제 #2
0
    public override void SetPanelData(PanelData aPanelData)
    {
        GamePanelData pd = aPanelData as GamePanelData;

        if (pd == null)
        {
            Debug.Log("GamePanelData is null");
            return;
        }

        currenLevelData = pd.CurrentLevel;

        SetUpLevel();
    }