- Home /
is it better to use MeshFilter[] or three separate MeshFilter var's
For saving the mesh geometry of select 3 previous states, I am wondering if I should use a MeshFilter array or to define three separate variables. Which would be the better approach in terms of performance?
Comment
If you want to save a mesh's geometry you cannot just assign the $$anonymous$$eshFilter to a variable. That will only save references to the same object. But perhaps you already knew this.
Answer by Mike 3 · Jan 03, 2011 at 01:17 PM
Almost no difference in performance at all, to the point where you just pick the one which is easier to work with for your case
Your answer
![](https://koobas.hobune.stream/wayback/20220613093819im_/https://answers.unity.com/themes/thub/images/avi.jpg)