public void UpdateSprite(string assetCode)
    {
        if (itemAsset != null)
        {
            itemAsset.code = assetCode;
            UIUtil.SetInputValue(inputSprite, itemAsset.code);
            UIUtil.SetLabelValue(labelAssetEdit, itemAsset.code);
            UIUtil.SetLabelValue(labelGameEditAssetSprite, GetItemAssetDisplayName(itemAsset.code));

            GameDraggableLevelItem levelItem = GameDraggableEditor.GetCurrentDraggableLevelItem();
            if (levelItem != null)
            {
                levelItem.LoadSprite(itemAsset.code);
            }
        }
    }
    void OnButtonClickEventHandler(string buttonName)
    {
        if (itemAsset != null)
        {
            if (buttonName == buttonGameEditAssetSave.name)
            {
                SaveDataAsset();
                ////GameDraggableEditor.ResetAssetPanelRemoveDeselect();
                actionState = UIPanelEditAssetActionState.NONE;
            }
            else if (buttonName == buttonGameEditAssetDelete.name)
            {
                GameDraggableLevelItem levelItem = GameDraggableEditor.GetCurrentDraggableLevelItem();
                if (levelItem != null)
                {
                    levelItem.DestroyMeAnimated();
                }

                ////GameDraggableEditor.ResetAssetPanelRemoveDeselect();
                actionState = UIPanelEditAssetActionState.NONE;
            }
            else if (buttonName == buttonGameEditAssetDeselect.name)
            {
                ////GameDraggableEditor.ResetAssetPanelRemoveDeselect();
                actionState = UIPanelEditAssetActionState.NONE;
            }
            else if (buttonName == buttonGameEditAssetSprite.name)
            {
                actionState = UIPanelEditAssetActionState.SELECT_ITEM;
                GameDraggableEditor.ShowUIPanelDialogItems();
            }
            else if (buttonName == buttonGameEditAssetSpriteEffect.name)
            {
                actionState = UIPanelEditAssetActionState.SELECT_EFFECT;
                GameDraggableEditor.ShowUIPanelDialogItems();
            }

            else if (buttonName == buttonGameEditAssetRotationReset.name)
            {
                UpdateRotation(0f, false, false);
            }
        }
    }