Esempio n. 1
0
    protected override void OnMouseMove(UnityEngine.UIElements.MouseMoveEvent e)
    {
        Vector2Int imageCoord = GetImageCoord(Image, e.localMousePosition);

        uPixel.ClearBuffer();
        uPixel.DrawBuffer(imageCoord);
        if (!m_Active || !target.HasMouseCapture())
        {
            return;
        }
        Vector2Int[] coords = Flood(imageCoord);
        uPixel.DrawBuffer(coords);
    }
Esempio n. 2
0
 protected override void OnMouseMove(UnityEngine.UIElements.MouseMoveEvent e)
 {
 }