Unity 5.5 change a group of images filter mode using C#

I noticed that 2D sprites don’t look very good in Point and Billinear, so I want to set up a button that allows the player to easily switch the sprite’s filter between the two. I been googling the code all day, but it’s all for before Unity 5 which apparently doesn’t work anymore in 5.

I apparently want Untity 5 version of this:
renderer.material.mainTexture.filterMode = FilterMode.Point;

I just starting writing code, and I’m very good at it, so I honestly don’t understand any of this. Sorry.

“filterMode” should still be there in Unity 5.5:

Does the code give you some kind of an error?

I’m not sure. I don’t really understand how to write the code. Could you give me an example for changing images in a certain folder to a different type of FilterMode?

Once built, folders don’t exist anymore. You will need to set them when they are used, either when instantiated, or you will need to find them in place. There really isn’t a simple way to it, you’ll need create a system to handle it, and how it will work will vary depending on your project architecture. I would suggest just using whichever looks best, you are looking at a fair amount of work.