示例#1
0
 public void EndDrawHistory()
 {
     if (currentDrawingHistory != null)
     {
         currentDrawingHistory.SetFinalTexture();
         HistoryManager.instance.PerformAndRecord(currentDrawingHistory, true);
         currentDrawingHistory = null;
     }
 }
示例#2
0
 public void StartDrawHistory()
 {
     currentDrawingHistory = new DrawingHistory(FlipbookManager.instance.currentFlipbookObject.frameIndex, layerIndex);
 }