Newer
Older
DungeonShooting / DungeonShooting_Godot / src / game / ui / tileSetEditorSegment / MaskRectCell.cs
@小李xl 小李xl on 14 Dec 2023 283 bytes 鼠标右键选择图块功能, 开发中
using Godot;

namespace UI.TileSetEditorSegment;

public class MaskRectCell : UiCell<TileSetEditorSegment.MaskRect, bool>
{
    public override void OnSetData(bool data)
    {
        CellNode.Instance.Color = data ? new Color(0, 0, 0, 0) : new Color(0, 0, 0, 0.5882353F);
    }
}