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