public void OnClickReset()
    {
        _painter.isErase = false;
        _painter.ShowScribbleComplete();
        _completeChecker.Reset();
        _painter.isErase = true;

        Vector2 size = proBar.sizeDelta;

        size.x           = 0f;
        proBar.sizeDelta = size;
        proTex.text      = "Progress:0%";
    }
Exemple #2
0
 public void ShowScribbleComplete()
 {
     if (_operation == Operation.Replace)
     {
         RenderTexturePainter painter = _listPainter[0];
         painter.ShowScribbleComplete();
         return;
     }
     LoopPainter((RenderTexturePainter painter) =>
     {
         painter.ShowScribbleComplete();
     });
 }